npm install -g rm-ds
rm-ds
rm-ds <directory>
Replace <directory>
with the path to the directory you want to remove the .DS_Store
files from.
I was tired of seeing .DS_Store
files in my repositories, and running find . -name '.DS_Store' -type f -delete
every time without getting an log of the files that were deleted. So, I created this project to solve that problem.
The rm-ds.sh
file is just for me, so I can run the script without installing it globally. The bin/rm-ds
file is the actual script that is installed globally. Both of them are the same, but the rm-ds.sh
file is not installed globally.
rm-ds
stands for "remove .DS_Store". It's a simple name that describes what the project does.