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
The zip command is the standard way to compress files. If you want to compress an entire folder, you must use the -r (recursive) flag to include all subdirectories and files. zip archive-name.zip filename.txt ssh.zip
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 To restore your files, use the unzip command
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 Advanced Tips Compress folders in SSH | WordPress