This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can I eliminate diagnostic messages from cp


On 5/20/2016 1:45 PM, lostbits wrote:
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>

Umm, add command line flags that don't request the permissions to be set?

E.g.,  --no-preserve=mode

You can play around with the various options of preserving / not preserving
mode, ownership, date/time, etc.

Regards -- Eliot

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]