Date: Sat, 09 Jun 2001 23:14:03 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: ams AT ludd DOT luth DOT se Message-Id: <8296-Sat09Jun2001231403+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <200106091729.TAA04775@mother.ludd.luth.se> (message from Martin Str|mberg on Sat, 9 Jun 2001 19:29:32 +0200 (MEST)) Subject: Re: .files on servers are perceived as readonly References: <200106091729 DOT TAA04775 AT mother DOT ludd DOT luth DOT se> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Martin Str|mberg > Date: Sat, 9 Jun 2001 19:29:32 +0200 (MEST) > > According to Eli Zaretskii: > > > 2. Why it annoys me immensly is that I routinely do "cp -a > > > v:/my/cvs/tree/of/djgpp/src/* /djgpp/src.compiling/" while > > > developing. And now I get a ton of warnings from cp because the copy > > > made the previous run of cp is set to readonly. > > > > When you copy directory trees, you should use "cp -rf". Otherwise, > > every write-protected file will trigger a prompt. > > Not good in this case because then the whole src.compiling tree would > be recompiled even if I'd changed no or only a few files. I need the > flag -p (implied by -a) to preserve the times of the files. Sure, just use "cp -prf".