Skip to content

📁 📝 Script scans for files in a directory and writes data to file.

License

Notifications You must be signed in to change notification settings

keen2/file-lister

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FileLister

Scans for files and subfolders in a directory and writes to file a list of files/folders structured by hierarchy.

FileLister



Txt: Resulting .txt Html: Resulting .html

Usage

GUI version if no arguments given, console otherwise:

file-lister.py [-h] [-f FILEPATH] [-s] [-d] [-i] dirpath

Print list of files of a given directory.

positional arguments:
  dirpath               Directory path to scan

optional arguments:
  -h, --help            show this help message and exit
  -f FILEPATH, --filepath FILEPATH
                        File path to save scanning results
  -s, --subdirs         Disable subdirectories scanning
  -d, --includedirs     Disable of printing directory info
  -i, --indent          Disable depth indentation

If no file given it prints the result in console.

Authors

Andrei Ermishin

License

GitHub

See LICENSE for more information.

Copyright 2019 © Andrei Ermishin

About

📁 📝 Script scans for files in a directory and writes data to file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages