Added plugin to individually compress a dir of files

pull/248/head
jimmynotjim 2013-12-02 15:21:07 -05:00
parent 814b4bc53a
commit af402cc6f0
1 changed files with 5 additions and 0 deletions

View File

@ -175,6 +175,11 @@ command_exists ()
type "$1" &> /dev/null ;
}
batch_zip ()
{
for f in *; do zip "${f%%.*}.zip" "$f"; done
}
# useful for administrators and configs
buf ()
{