mkdirs-csv
Create directories using a CSV file
Installation
npm install -g mkdirs-csv
Usage
a. Using the given file name's users.csv
Lastname;Firstname;ageDoe;John;25Stewart;Jon;45David;Larry;59
b. With the following command :
mkdirs-csv users.csv -c Firstname Lastname -o users -d "--"
c. Will generate directories :
users/John--Doeusers/Jon--Stewartusers/Larry--David
Options
filePath
: [-f] The default option or passing after the -f option. Is the file path of your CSV fileoutDir
: [-o] The output directory that will contains all your child directories from the CSV filecolumns
: [-c] The list of column nameseparator
: [-s] The separator between columns during the directory creationdelimiter
: [-d] The CSV delimiter