I'm extracting daily backup archives. I want to see only the new files since the last day. The archives contain lot of already existing files, which I don't want to overwrite, so I use the
--skip-old-files option, which is fine.
But I'd like to list only those files that were actually extracted and omit those that were skipped because they already exist.
My current command is:
tar --verbose --skip-old-files --extract --file=2019-02-10.tar.gz
and the output is (where file1 and file2 were already exist and file3 was new):
file1.zip tar: file1.zip: skipping existing file file2.zip tar: file2.zip: skipping existing file file3.zip
I need only the file3.zip in the output. Is it possible?