Network File Copy Issue

Primo

Cadet
Joined
Nov 25, 2016
Messages
1
Hi all,

I am trying to copy files from a secondary server to my new TrueNAS scale server; I have mounted the network location and am running the "cp" command through shell:

sudo cp -r /mnt/NetworkShare /mnt/data/Media/Video

Running the above command seemed to be working for the most part, but after finishing, I noticed that only half of the files had been copied. When trying to copy any of the files that did not get copied in the first run, I get the following:

zsh: unknown file attribute: 2

Does anyone have any idea of what the issue could be based on the information provided?
 
Joined
Jan 7, 2015
Messages
1,155
Try using rsync might be better option i.e.
rsync -avh /mnt/share/* /mnt/data/Media/Video/
 
Top