Forum Moderators: bakedjake
cd /home/joe
zip -r /tmp/blah.zip gallery
The -r causes it to recursively include all the files in all the subdirectories.
You can also do
zip -r /tmp/blah.zip /home/joe/gallery
In the first example, "gallery" will be the parent directory in the zip file. In the second example, "home" will be the parent.