Skip to content

Instantly share code, notes, and snippets.

@vanWittlaer
Last active July 12, 2021 14:29
Show Gist options
  • Save vanWittlaer/09f4d7aaab4236d628bc84e75d4f9f7c to your computer and use it in GitHub Desktop.
Save vanWittlaer/09f4d7aaab4236d628bc84e75d4f9f7c to your computer and use it in GitHub Desktop.
# this is a files/folder exclude list to be used with tar when archiving a Shopware 6 project folder
# use like 'tar -cvzf --exclude-from=tar-exclude.txt my_archive.tar.gz shopware'
# you may have to replace shopware with the name of your project folder, and remove all comment lines
shopware/.env
shopware/config/jwt/*.pem
shopware/var/cache/dev_*
shopware/var/cache/prod_*
shopware/var/log/*.log
# optional:
# shopware/files
# shopware/public/bundles
# shopware/public/media
# shopware/public/thumbnail
# shopware/public/sitemap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment