delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/29/06:17:10

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <01C1004A.CEE3CCA0.jorgens@coho.net>
From: Steve Jorgensen <jorgens AT coho DOT net>
Reply-To: "jorgens AT coho DOT net" <jorgens AT coho DOT net>
To: "cygwin AT cygwin. Com (E-mail)" <cygwin AT cygwin DOT com>
Subject: Steve J's latest bonehead realization
Date: Fri, 29 Jun 2001 03:22:37 -0700
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
MIME-Version: 1.0

Today, I did the research necessary to figure out how I could back up the 
permissions for files in Cygwin, so I can rebuild them after copying the 
files to ext2 under linux:

find mydirectory -fprintf mydirectory.chmod "chmod %m \"%p\"\n"

Pretty neat, but why didn't I just tar the directory?  I guess it's because 
I had started out from the incorrect assumption that the attributes I 
needed had already been lost during CVS checkout under Cygwin, and I never 
got back to the obvious track after that.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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