Unzip files with SSH

When you do not have access to a file manager, it is necessary to be able to unzip files from SSH.

Warning: The information in this article is advanced material we make available as a courtesy. Please be advised that you are responsible for properly following the procedures below. Customer Support can't assist with these topics.
  1. Connect to your hosting with FTP.
  2. Upload your .tar.gz file or .zip.
  3. Enable SSH on your hosting account. (Web & Classic / cPanel / Managed WordPress).
  4. Connect to your server or shared hosting account with SSH,
  5. Navigate to the directory containing the zipped file.
  6. Use one of the following commands depending if you uploaded a .tar.gz or a .zip file
  7. Update the the command(s) as follows:

    tar -xvzf source.tar.gz -C destination/
    • source.tar.gz is the name of your .tar.gz file
    • destination is the name of the folder where you want to extract the files

    unzip source.zip -d destination/
    • source.zip is the name of your .zip file
    • destination is the name of the folder where you want to extract the files

More info

More info about WPPS.

이 글이 도움되었나요?
피드백을 보내주셔서 감사합니다. 고객 서비스 담당자에게 문의하시려면 지원 전화 번호 또는 위의 채팅 옵션을 이용하시기 바랍니다.
도와드릴 수 있어 기쁩니다! 더 도와 드릴 것이 있나요?
그것 유감스럽습니다. 혼동이 되었던 사항 또는 솔루션이 고객님의 문제를 해결하지 못했던 원인을 알려주세요.