recursive copy with spaces in descendants
cpuburner at gmail.com
Sat Nov 5 22:49:51 UTC 2011
On Sat, Nov 5, 2011 at 6:20 PM, Michael Sierchio <kudzu at tenebras.com> wrote:
> On Sat, Nov 5, 2011 at 3:15 PM, Chris <cpuburner at gmail.com> wrote:
>> I apologize for the lack of detail. The command I'm using is:
>> ( cd /usr/local/etc/transmission/home/Downloads/ ; tar cf - . ) | ( cd
>> /mnt/usb ; tar xf - )
> Show, don't tell. What does tar report when you run it?
The following messages display:
./: Can't set user=921/group=921 for .
./Reboot S1 - 01 [3FD6C4B2].mkv: Can't create 'Reboot S1 - 01 [3FD6C4B2].mkv'
The last message (can't create) repeats for all files in the
directory. Running 'ls -al /mnt/usb' yields:
drwxr-xr-x 1 root wheel 32768 Dec 31 1979 .
drwxr-xr-x 1 root wheel 512 Nov 5 03:04 ..
Where /mnt/usb was originally empty in the first place.
More information about the freebsd-questions