zipping

I am finding it difficult to use Winzip on windowz to Zip a folder which contains a sub-folder.

The Right Click Menu Add to Zip creates a zip (final) of folder(1) and sub-folder(2) as two separate items.!

While on Linux I discovered that if you tar cvf filename.tar directoryname/* it will mangle the files in directory and You had to use as directoryname only.
For zip, its zip zipfilename file1 file2 and when file1 is a directory you got to use directory/*
Updated:
Just read the man zip.zip -r foo foo was what I was looking for.

No comments: