Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.37 KB

README.md

File metadata and controls

47 lines (33 loc) · 1.37 KB

command-line-file-manager

PyPI Downloads

Python CLI tool for scanning and organizing local directories and files.

Requires Python 3.10+

Installation

Via pip:

$ pip install command-line-file-manager

From main branch:

$ git clone https://github.com/kaliv0/command-line-file-manager.git
$ cd command-line-file-manager 
$ pip install .

Example

To run the application type fm followed by a sub-command, target directory and options

$ fm scan-files ../test --sort=type --save --output=./

Add --help after the fm command or any of the subcommands to get more information

$ fm scan-files --help

Usage: fm scan-files [OPTIONS] DIR_PATH

  DIR_PATH: Path to directory to be scanned

Options:
  --sort [name|size|date|modified|type]   Sorting criteria.  [default: name]
  --desc                                  Display result in descending order.
  -s, --save                              Save log message to file.
  -o, --output TEXT                       Path to output directory for the saved log file.
  --help                                  Show this message and exit.