I am trying to run this command in Linux:
tar zcvf ABCD.tar.gz -T Files.txt
and I am getting the following error:
Error: tar: Removing leading `/' from member names
Based on Find /SED to convert absolute path to relative path within a single line tar statement for crontab, I tried this command:
tar -C / -zcvf ABCD.tar.gz -T Files.txt
but I am still getting the same error message.
/
(unwise), or somehow strip it off so that the files have relative pathnames (safer)? – Chris Davies Oct 09 '19 at 20:08