rmjunk is a tool to remove junk files such as .DS_Store
and Thumbs.db
from directories.
bash
cargo install rmjunk
Basic usage:
bash
rmjunk [DIR]
-r
, --recursive
: Search and remove junk files from directories recursively.--dry-run
: Preview files that will be removed without actually deleting them.Remove junk files from a specific directory:
bash
rmjunk ./my_folder
Search and remove files recursively:
bash
rmjunk -r ./my_folder
Use the dry-run mode:
bash
rmjunk --dry-run ./my_folder
MIT OR Apache-2.0