zip archive-name.zip file1.php file2.html Zip an entire directory: zip -r archive-name.zip foldername/ Zip everything in the current folder: zip -r backup.zip . 3. Extracting a .zip File
Managing files on a remote server doesn't have to be a headache. Whether you are backing up a website or moving large datasets, using SSH to compress files into a .zip format is one of the fastest ways to handle bulk data. 1. Connecting to Your Server ssh.zip
To restore your files, use the unzip command. This will extract the contents into your current working directory. unzip archive-name.zip View contents without extracting: unzip -l archive-name.zip 4. Advanced Tips Compress folders in SSH | WordPress - GoDaddy Help GB zip archive-name