iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
💬

[Paperspace] How to Compress and Download Directories [Stable Diffusion]

に公開

Conclusion

!zip -r [zip_file_name] [directory_to_save] 
  • Note: I could not compress it when I added .zip to the end of the zip file name.
    It is better not to include .zip.
# Example input: In the directory where the folder is located
!zip -r aaaa stable-diffusion-webui/outputs/

Then just right-click and download.

Remarks

Paperspace seems to be using Ubuntu, so it is effective to enter
compatible commands.

$ cat /etc/os-release

NAME="Ubuntu"
VERSION="20.04.4 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.4 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

For those who haven't registered on Paperspace yet

https://console.paperspace.com/signup?R=ZS1N2LM
If you register for Paperspace through this link, you will receive $10 in credits.

Recommended Books for Image Generation

[2023 Latest] Over 1,000 Prompts Included! A Collection of Spells for NovelAI and Local Use: Tips, Techniques, and Recommended Tools (Introductory Guide for AI Artists) Kindle Edition

https://amzn.to/3YVp90y

Become a Master Artist in Collaboration with AI: Deciphering Stable Diffusion from Research Papers
https://amzn.to/41aLQ30

Pioneering Technology: How to Use AUTOMATIC1111 / Stable Diffusion web UI
https://amzn.to/3Kcjboe

Discussion