To compress the wp-content
folder via terminal, use one of the following commands depending on your preferred archive format:
๐น To compress as .zip
:
๐น To compress as .tar.gz
(recommended for Linux):
๐น To compress as .tar
(uncompressed tarball):
These commands should be run from the directory containing the
wp-content
folder.
Let me know if you want to exclude any subfolders or files.