1 unstable release
0.1.0 | Aug 12, 2023 |
---|
#937 in Filesystem
10KB
51 lines
rmjunk
rmjunk is a tool to remove junk files such as .DS_Store
and Thumbs.db
from directories.
Features
- Removes junk files from a specified directory.
- Option to search and remove junk files recursively within directories.
- Offers a dry-run mode to preview files that will be removed without actually deleting them.
Installation
cargo install rmjunk
Usage
Basic usage:
rmjunk [DIR]
Options:
-r
,--recursive
: Search and remove junk files from directories recursively.--dry-run
: Preview files that will be removed without actually deleting them.
Examples
Remove junk files from a specific directory:
rmjunk ./my_folder
Search and remove files recursively:
rmjunk -r ./my_folder
Use the dry-run mode:
rmjunk --dry-run ./my_folder
License
MIT OR Apache-2.0
Dependencies
~3.5–5MB
~88K SLoC