chloe K wrote:
Hi I have number of selected files to backup and it is also in different folders How can I make it easy?
Look at the -T or the --files-from option to tar. You can put all of the filenames in a single file and instruct to archive just the files listed in that one file. Is this what you want?
eg: tar zcvf select-file.tar.gz from selected file or tar zcvf select-file.tar.gz (from selected files in file.txt)?
tar zcvfT selected-file.tar.gx files.txt