tar \
--exclude='*.gz' \
--exclude='*.mov' \
--exclude='*.mp4' \
--exclude='*.ogv' \
--exclude='*.pdf' \
--exclude='*.tgz' \
--exclude='*.webm' \
--exclude='*.zip' \
--exclude='./amasty/amoptimizer_dump' \
--exclude='./amasty/amoptmobile' \
--exclude='./amasty/amopttablet' \
--exclude='./amasty/webp' \
--exclude='./cache' \
--exclude='./captcha' \
--exclude='./catalog/product/cache' \
--exclude='./descriptions' \
--exclude='./helpdesk/attachments' \
--exclude='./import' \
--exclude='./importexport' \
--exclude='./ipattachments' \
--exclude='./magefan_blog' \
--exclude='./megnor_blog' \
--exclude='./product/cache' \
--exclude='./shipment*.png' \
--exclude='./tmp/catalog/product' \
./import/.htaccess \
-zcvf ~/${PWD##*/}-$(date '+%Y-%m-%d-%H-%M').tgz .