Hi Brian, > I have trouble getting the --directory=dir to work when dir include > white-space(s)
Using tar 1.30 here, $ mkdir 'foo bar' $ >'foo bar'/xyzzy $ tar --directory='foo bar' -cvf brian.tar xyzzy xyzzy $ find | sort -V . ./brian.tar ./foo bar ./foo bar/xyzzy $ tar tvf brian.tar -rw-r--r-- ralph/ralph 0 2018-06-27 13:41 xyzzy $ Note, -C is `order sensitive', as the fine man page says. If you can't recreate the above, show and tell. -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy