Crates.io | destroy_ds_store |
lib.rs | destroy_ds_store |
version | 1.0.1 |
source | src |
created_at | 2022-11-18 01:11:25.417615 |
updated_at | 2022-11-18 01:17:41.470277 |
description | Delete the annoying .DS_Store files from the current folder and all its sub-folders. |
homepage | https://github.com/FaisalBinAhmed/Destroy-DS-Store |
repository | https://github.com/FaisalBinAhmed/Destroy-DS-Store |
max_upload_size | |
id | 717593 |
size | 9,599 |
Delete the annoying .DS_Store files from the current folder and all its sub-folders.
To execute without installing run cargo run
. By default, it will scan the root project directory.
You can optionally pass arguments to the app like this: cargo run -- --help
for more information.
To run it silently, pass the s flag like this cargo run -- -s
. This will prevent the app from printing the file names as it scans.
To delete all .ds_store files without asking, pass the y flag like this cargo run -- -y
The app optionally takes the path of a directory to be scanned as an argument, to specify a path, run cargo run -- PATH
After installing, you do not need cargo run
anymore. Just run destroy_ds_store PATH [FLAGS]
like destroy_ds_store --help
More examples: destroy_ds_store
scan current directory.
destroy_ds_store ../
scan parent directory.