Monday, August 15, 2011

Unix Commands ZIP

The syntax is as follows:
zip file.zip file1.txt file2.doc photo.jpg 

To zip resume.doc and all *.c file, enter:
zip bacup.zip resume.doc *.c
To zip data directory, enter:
zip -r backup.zip data

No comments:

Post a Comment