ADVERTISEMENT

Uinx Command – Archive ALL Files Except…

Creating a tarball of the files on your server is a quick and easy way of completing a backup. The only issue is that in a real world scenario there’s always some file types or directories which you really don’t wish to backup be it space concern or otherwise.

Skip Images when Creating TAR.GZ

To skip images when creating a tarball use the –exclude parameter with the image extension. Please note that extension names are case sensitive so *.jpg is not the same as *.JPG.