Skip to content

linobino1/Luke-DirWalker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Luke-DirWalker

Directory Structure to CSV

parses a directory structure like this:

├── root/
│   ├── A
│   │   ├── Abrahams, Jim
│   │   │   ├── 2008 - Meet the Spartans
│   │   ├── Akerman, Chantal
│   │   │   ├── 1975 - Je tu il elle
│   ├── B
│   │   ├── ...

to a CSV like this:

Director,Year,Title
Abrahams, Jim,2008,Meet the Spartans
Akerman, Chantal,1975,Je tu il elle

Usage

python dirwalker.py --root path/to/root/dir --output path/to/output.csv --depth 2

depth is the number of subdirectories that need to be traversed to get to the director name. In the example above, the depth is 2.

About

Directory Structure to CSV

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages