Last Updated: February 25, 2016
·
1.498K
· macodev

Remove .DS_store alias in oh-my-zsh

Little handy alias for oh-my-zsh to remove .DS_Store files in OSX from a directory and its subdirectories.
Inside your .zshrc file add the following code:

#remove .DS_store from dir & subdir
alias rmds="find . -name '*.DS_Store' -type f -delete"