I'm extracting a tar archive with
tar -xf /tmp/update.tar -C / -v --keep-newer-files.
-v Option is to display all files processed, the
--keep-newer-files Option is self explaining.
Due to all files already exist I get the following output:
usr/local/bin/execstate.log tar: Current ‘usr/local/bin/execstate.log’ is newer or same age usr/local/bin/dblist.sh tar: Current ‘usr/local/bin/dblist.sh’ is newer or same age usr/local/bin/dbblacklist.sh tar: Current ‘usr/local/bin/dbblacklist.sh’ is newer or same age
I know, that the
--warning-no-ignore-newer Option switches the warning of, but then the output is:
usr/local/bin/execstate.log usr/local/bin/dblist.sh usr/local/bin/dbblacklist.sh
But none of these files will be extracted!
I just want to display the files which are extracted (if they do not already exist)!