It’s often necessary to backup a set of files, however you don’t want to archive an entire folder or site. To accomplish this task simply create a text file called filestotar.txt. Then place the full path and file name of each file that you want included in the archive. Then run:
tar -cvf backup.tar –files-from=filestotar.txt
This will create an archive called backup.tar with all of the files that were listed in the text document filestotar.txt