Hi Dawid, > To my surprise it worked the first time, but on subsequent attempts it > just hangs. After some investigation, it turned out that if one uses > `--xattrs --skip-old-files` together, and `tar x ...` encouter > existing file, it just hangs. ... > I've tested with tar 1.27.1 on Ubuntu 14.04.1
Could do with a test case that fails. This works with tar 1.29-1 on Arch Linux. $ (cd src && tar --xattrs -cf - .) | > (cd dest && tar --xattrs -xvf -) ./ ./foo $ $ touch src/bar $ (cd src && tar --xattrs -cf - .) | > (cd dest && tar --xattrs --skip-old-files -xvf -) ./ tar: .: skipping existing file ./foo tar: ./foo: skipping existing file ./bar $ $ (cd src && tar --xattrs -cf - .) | > (cd dest && tar --xattrs --skip-old-files -xvf -) ./ tar: .: skipping existing file ./foo tar: ./foo: skipping existing file ./bar tar: ./bar: skipping existing file $ -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy