Create zip file in linux command line:-
Example 1: The command "zip -r d1.zip d1" will compress all files & sub folreds under the folder d1, and create a single zip file d1.zip.
Example 2: The command "zip all.zip a.c b.c c.c" will compress three files (a.c b.c & c.c) and crreate a single compressed file named all.zip.
Wednesday, June 11, 2008
Create zip file in linux command line
Labels:
tar and zip
Subscribe to:
Post Comments (Atom)
3 comments:
ok
I have done it.
Hello,
If you want to zip a directory then you have to use
zip -r directory1 directory1
Regards,
Tux
I had a lot of zip files on my PC. And once something happened with them. To my good fortune I quickly found out a good tool, which perhaps can decide different tasks - zip file repair.
Post a Comment