• Sorry. This is a little off topic I think. I’m wondering how I can zip (gzip?) the whole WordPress directory on my server. I was having trouble downloading (FTP) all the separate files yesterday, so I thought it would be easier (and quicker?) if I zipped the whole directory via SSH and then downloaded the zipped file via FTP? Further, what is the command to unzip the files once I move them to a different server. Will the unzipped files retain the same permissions? Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • My host provider has a button that allows me to gzip a file/directory. If you have command line access you should be able to type: gzip -h to see the switches you have available.

    Gzip generally only operates on a single file; so what you do is tar the directory and then gzip the tar file:

    tar zcvf /path/to/backup.tar.gz /path/to/source

    Thread Starter jpepper

    (@jpepper)

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Zip the WordPress folder on Linux Server’ is closed to new replies.