compress files with rar
rar a -s -v450 -m5 test.rar test/*
11381 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
rar a -s -v450 -m5 test.rar test/*
#!/bin/sh # GALLERATE: Turn a zip of images into a gallery. # From Jason Scott. http://ascii.textfiles.com/archives/000137.html if [ -f "$1" ] then rm -rf .galleryworld echo "[%] Preparting to squat out $1...." mkdir .galleryworld cd .galleryworld unzip -j "../$1" unrar e -ep "../$1" echo "[%] WHY DOES IT HURT!!!!" montage +frame +shadow +label -tile 7 *.JPG *.GIF *.gif *.jpg *.bmp *.png *.PNG *.BMP "../$1.jpg" cd .. rm -rf .galleryworld ls -l "$1.jpg" else echo "No such file, assmaster." fi
GALLERATE [file]