delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/05/22/03:10:14

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=jO5nDImsVm6FYrv+rJA4eU6zOgweWPc7cuL6o+vuEWE1A1ADVGGxw
fl4+W4zi9JeOp9/inXTtrZIV2oxOkS/dFWpLc6qhqDo8hvgJtlgXsx5ssH9cTsja
vx4JlLu6j5u9wc+zJWFjhEeCwggWsMMqTf6q08QZVvGqxV0M+afW6U=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=FGyv1AJbCeg+Cg0oue7FrYwkxzY=; b=tdhD9u5CXLAJynotftKLGGCgeet3
0xscyKFhS+RNpuipLzU4+hydyGjjdGCxoFV58TmV3vcjsaDuN+kDaUyKOikWMrUd
yUIxy/T7CsfdH9dowxI2A+QDadGMHn8Lin6tLlh1qSuILM8GgRKnRRrdJ365f3+R
dbV9lVLTg95DzVE=
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=-1.6 required=5.0 tests=AWL,BASE64_LENGTH_79_INF,BAYES_00,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*M:193
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Subject: Re: Can I eliminate diagnostic messages from cp
Date: Sun, 22 May 2016 07:09:39 +0000 (UTC)
Lines: 1
Message-ID: <loom.20160522T090447-193@post.gmane.org>
References: <3e817f56-2193-6a63-ec27-1f49dc2b2e00 AT att DOT net>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id u4M7A5wF031611

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. 

- Raw text -


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