Can I eliminate diagnostic messages from cp

Andrey Repin anrdaemon@yandex.ru
Fri May 20 18:05:00 GMT 2016


Greetings, lostbits!

> I use cp as my backup tool from disk to USB. There are maybe 40,000 
> files involved and each one has a message of
> "cp: preserving permissions for <file>’: Not supported". These messages 
> slow down the backup and obscure meaningful faults. Is there any option 
> for removing the messages?

> My command line is: cp <directory> /<usb>

If your USB is formatted in FAT, then --preserve=none will get rid of these
messages.
As FAT doesn't really support anything at all.


-- 
With best regards,
Andrey Repin
Friday, May 20, 2016 20:49:46

Sorry for my terrible english...


More information about the Cygwin mailing list