zip on linux
August 31, 2009 at 11:39 am | In Linux Basics | Leave a Commentzip the files and folders:
Syntex:
zip -9 -r <zip file> <folder name>
Where,
-9 —> for best compression.
-r Travel the directory structure recursively
The compressed file works fine with Windows XP compression tool.
Ex:
[root@linux home]# zip -9 -r test.zip test/
To zip a single file:
zip -9 <zip file> <filename>
No Comments Yet »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.