* Can I eliminate diagnostic messages from cp
@ 2016-05-20 17:45 lostbits
2016-05-20 17:48 ` Eliot Moss
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: lostbits @ 2016-05-20 17:45 UTC (permalink / raw)
To: cygwin
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>
thanks
art
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can I eliminate diagnostic messages from cp
2016-05-20 17:45 Can I eliminate diagnostic messages from cp lostbits
@ 2016-05-20 17:48 ` Eliot Moss
2016-05-20 18:05 ` Andrey Repin
2016-05-22 7:09 ` Brian Inglis
2 siblings, 0 replies; 4+ messages in thread
From: Eliot Moss @ 2016-05-20 17:48 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can I eliminate diagnostic messages from cp
2016-05-20 17:45 Can I eliminate diagnostic messages from cp lostbits
2016-05-20 17:48 ` Eliot Moss
@ 2016-05-20 18:05 ` Andrey Repin
2016-05-22 7:09 ` Brian Inglis
2 siblings, 0 replies; 4+ messages in thread
From: Andrey Repin @ 2016-05-20 18:05 UTC (permalink / raw)
To: lostbits, cygwin
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...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can I eliminate diagnostic messages from cp
2016-05-20 17:45 Can I eliminate diagnostic messages from cp lostbits
2016-05-20 17:48 ` Eliot Moss
2016-05-20 18:05 ` Andrey Repin
@ 2016-05-22 7:09 ` Brian Inglis
2 siblings, 0 replies; 4+ messages in thread
From: Brian Inglis @ 2016-05-22 7:09 UTC (permalink / raw)
To: cygwin
lostbits <aschwarz1309 <at> att.net> writes:
> 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>
cp --preserve=all is documented as suppressing operation not supported
messages, and cp -a (archive) is documented as suppressing messages about
inability to preserve information which can not be stored on the target
filesystem.
Alternatively, instead of using the default USB DOS/VFAT format, you could
format the USB drives as NTFS, which would allow cp to preserve the
ownership and ACLs on the files.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-05-22 7:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-20 17:45 Can I eliminate diagnostic messages from cp lostbits
2016-05-20 17:48 ` Eliot Moss
2016-05-20 18:05 ` Andrey Repin
2016-05-22 7:09 ` Brian Inglis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).