rmjunk

Crates.iormjunk
lib.rsrmjunk
version0.1.0
sourcesrc
created_at2023-08-12 15:17:14.025351
updated_at2023-08-12 15:17:14.025351
descriptionTool to remove junk files such as `.DS_Store` and `Thumbs.db` from directories
homepage
repositoryhttps://github.com/amachang/rmjunk
max_upload_size
id942796
size26,792
Hitoshi Amano (amachang)

documentation

README

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

Commit count: 1

cargo fmt