Compressing wp-content Folder Using Linux Command Line

Compressing wp-content Folder Using Linux Command Line (ZIP & TAR.GZ Guide)

To compress the wp-content folder via terminal, use one of the following commands depending on your preferred archive format: ๐Ÿ”น To compress as .zip: bash CopyEdit zip -r wp-content.zip wp-content ๐Ÿ”น To compress as .tar.gz (recommended for Linux): bash CopyEdit tar -czvf wp-content.tar.gz wp-content ๐Ÿ”น To compress as .tar (uncompressed tarball): bash CopyEdit tar -cvf wp-content.tar wp-content These commands should …

How to Download and extract WordPress via Terminal

cd /tmp wget https://wordpress.org/latest.zip unzip latest.zip sudo mv wordpress/* /home/naomisophy/naomisophyblog.com.ng Replace this /home/naomisophy/naomisophyblog.com.ng with your website directory