Working with zip files
Compressing and packaging
## first check if there is anough space left at the target volume using "df" and "du"! df -h
du -sh files
tar --exclude='./myfolder' --exclude='*.tmp' -zcvf archive.tgz files
Multiple files and directories may follow to put them together in one single archive.
you can use wildcard to exclude multiple files at once:
you can prefix with './' to exclude only files on root/current working dir:
In a TYPO3 context you may want to archive only files without processed folders:
tar --exclude='_processed_' --exclude='_temp_' -zcvf files.tgz fileadmin
Copy the created files to your local machine with e.g.
scp remoteuser@remoteserver:/remote/folder /my/local/directory/