diff options
author | Mathias Bynens <mathias@qiwi.be> | 2011-10-22 23:15:34 +0300 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2011-10-22 23:15:34 +0300 |
commit | b4d42230d165a1253218f1fe2f87d76509f59d7f (patch) | |
tree | 2d94f247c7507b19fe1d36b894da680b72197e1a | |
parent | 81da8db24720ece87ee4315bcb659716b7588136 (diff) | |
download | dotfiles-b4d42230d165a1253218f1fe2f87d76509f59d7f.tar.gz dotfiles-b4d42230d165a1253218f1fe2f87d76509f59d7f.tar.bz2 dotfiles-b4d42230d165a1253218f1fe2f87d76509f59d7f.zip |
Add `cleanup` alias, which recursively deletes `.DS_Store` files. Useful for cleaning up external HDDs after copying over some folders.
-rw-r--r-- | .aliases | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -46,6 +46,9 @@ type -t md5sum > /dev/null || alias md5sum="md5" # Trim new lines and copy to clipboard alias c="tr -d '\n' | pbcopy" +# Recursively delete `.DS_Store` files +alias cleanup="find . -name '*.DS_Store' -type f -delete" + # Shortcuts alias d="cd ~/Documents/Dropbox" alias p="cd ~/Projects" |