- Forums
- Linux Systems
- How To Compress Zip File In Linux Shell Command Compressing Zip Files
This Page Contains information about How To Compress Zip File In Linux Shell Command Compressing Zip Files By wallpaperama in category Linux Systems with 0 Replies. [2971], Last Updated: Sat May 18, 2024
wallpaperama
Wed Jul 11, 2007
0 Comments
11891 Visits
today i wanted to know how to compress zip files in linux. i wanted to copy a whole directory and compres it so i can download to my computer.
well, if you want to know how you can compress files or directories to zip format, all you have to do is send this shell command in linux:
zip -r new_file_name.zip /path/to/directory
FORMAT: zip -r [NEW FILE NAME] [TARGET]
to unzip it you can send this command in the unix shell:
unzip new_file_name.zip
here's more information about zip in linux or you can just send the man command:
man zip