[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Tar doesn't seem to support white-space in directory name
Re: [Bug-tar] Tar doesn't seem to support white-space in directory name when using --directory
Wed, 27 Jun 2018 13:44:16 +0100
> I have trouble getting the --directory=dir to work when dir include
Using tar 1.30 here,
$ mkdir 'foo bar'
$ >'foo bar'/xyzzy
$ tar --directory='foo bar' -cvf brian.tar xyzzy
$ find | sort -V
$ 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.