Nested rimraf CLI app.
Use it to clear your junk in nested directories
Usage:
$ nested-rimraf [OPTIONS] COMMAND [ARGS]...
Options:
--install-completion
: Install completion for the current shell.--show-completion
: Show completion for the current shell, to copy it or customize the installation.--help
: Show this message and exit.
Commands:
rm
: Scan and remove targets inside directory and...rmf
: Took file, generated by "nested-rimraf scan"...scan
: Scan directory and child-directories to find...
Scan and remove targets inside directory and sub-directories
Usage:
$ nested-rimraf rm [OPTIONS] TARGET [DIRECTORY]
Arguments:
TARGET
: Target name to find inside of directory [required][DIRECTORY]
: Directory to scan in [default: .]
Options:
-d, --dir-only
: Target only directories [default: False]-s, --without-symlinks
: Do not process symlinks as targets [default: False]-y, --agree
: Remove without any questions [default: False]-I, --ignore-errors
: Ignore errors and delete until possible [default: False]-v, --verbose
: Talk a lot [default: False]--help
: Show this message and exit.
Took file, generated by "nested-rimraf scan" and remove everything from it
Usage:
$ nested-rimraf rmf [OPTIONS] [SAVE_PATH]
Arguments:
[SAVE_PATH]
: Remove list from passed file or ".nr-todo" inside passed directory [default: .nr-todo]
Options:
-d, --dir-only
: Target only directories [default: False]-s, --without-symlinks
: Do not process symlinks as targets [default: False]-y, --agree
: Remove without any questions [default: False]-I, --ignore-errors
: Ignore errors and delete until possible [default: False]-v, --verbose
: Talk a lot [default: False]--help
: Show this message and exit.
Scan directory and child-directories to find targets
Usage:
nested-rimraf scan
Usage:
$ nested-rimraf scan [OPTIONS] TARGET [DIRECTORY]
Arguments:
TARGET
: Target name to find inside of directory [required][DIRECTORY]
: Directory to scan in [default: .]
Options:
-d, --dir-only
: Target only directories [default: False]-s, --without-symlinks
: Do not process symlinks as targets [default: False]-L, --save-list
: Save list of targets for further use [default: False]--save-path TEXT
: File to save list of targets [default: .nr-todo]-v, --verbose
: Talk a lot [default: False]--help
: Show this message and exit.