So I want to use tar to preserve capabilities of files and to skip existing files if they are the same.
I know there are specific flags for both preserving capabilities and skipping old files, but if I use them like this:
sudo tar --skip-old-files --xattrs --xattrs-include='*' --preserve-permissions -xf test.tar
I end up in an infinite loop and if I don't use --skip-old-files I get "File already exists" type of errors.