Sorin Ionescu
11 years ago
4 changed files with 24 additions and 20 deletions
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
# |
||||
# Previews files in Quick Look. |
||||
# |
||||
# Authors: |
||||
# Sorin Ionescu <sorin.ionescu@gmail.com> |
||||
# |
||||
|
||||
if (( $# > 0 )); then |
||||
qlmanage -p "$@" &> /dev/null |
||||
fi |
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
# |
||||
# Deletes .DS_Store and __MACOSX directories. |
||||
# |
||||
# Authors: |
||||
# Sorin Ionescu <sorin.ionescu@gmail.com> |
||||
# |
||||
|
||||
find "${@:-$PWD}" \( \ |
||||
-type f -name '.DS_Store' -o \ |
||||
-type d -name '__MACOSX' \ |
||||
\) -print0 | xargs -0 rm -rf |
Loading…
Reference in new issue