This is an easy snippet that you can use to archive files on linux servers.
Archiving CSV or anyother type of files on linux systems (including files with spaces in their names)