unzip works just like you'd expect:
unzip [zipfilename]zip, on the other hand, took a little figuring out:
zip -h {...dumps online help listing}
zip [zipfilename] [file to zip] {...zips and retains the original file}
zip -m [zipfilename] [file to zip] {...zips and removes the original file}Best of all, I created a script called smush to help me out even more.# smush - a quick and dirty script to zip pdfsI cd to the directory, type smush and it all works automagically. Sweet!
for i in *.pdf
do
echo "zipping ${i}"
zip -m $i.zip $i
done
[Editor's note: You'll need to enter the above lines into a terminal editor such as pico, save the file, make it executable (chmod 755 filename), and then make sure it's on your path to use the script.]

