delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/05/20/13:48:43

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=VpFZzybRIttuhbl4
Lqlh+PVAB3T4udfLTo9NT4Dp+zvr8CI1Qt1LOvImDMogDv4IgAFD2GdFJgb9gZw9
Ogbe0CI88gIPJBJQoqd7EiHopAxlak6eUrGNODmRprVye34/8QA2HeTyr7/7DDnP
75jKeFS+tV6puqFwJNvzRpYynUs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=Ebo2WTaLPBLnqhNbzGP8oo
dyR5M=; b=hMhGj6RHty2094KqoFekJSieO3jqbgn1TtghTvQEKY21w1SUIFLnT7
2BU2mYotCh5R8D+mo/XekWxsbZgqRRw3Ib9FH/3213FMWgM7QdIkFB9csTMR6wnK
Z5FFykq8R2MjAWjJpZHAgmXIARQyEiyP5tBPJrFY5/1ABBslLSzL0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=umm, lostbits, HContent-Transfer-Encoding:8bit
X-HELO: csmail.cs.umass.edu
Reply-To: moss AT cs DOT umass DOT edu
Subject: Re: Can I eliminate diagnostic messages from cp
References: <3e817f56-2193-6a63-ec27-1f49dc2b2e00 AT att DOT net>
To: cygwin AT cygwin DOT com
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Message-ID: <dbaf98e7-ab98-9157-3d10-ae7efc4f2a5e@cs.umass.edu>
Date: Fri, 20 May 2016 13:48:07 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
MIME-Version: 1.0
In-Reply-To: <3e817f56-2193-6a63-ec27-1f49dc2b2e00@att.net>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019