[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: add directory heirarchy

From: Pyatt, Scott
Subject: RE: add directory heirarchy
Date: Wed, 14 Mar 2001 14:21:13 -0800

I've never cared much for the import functionality in CVS, so I've got a little script that does something similar to this.  It has the added ability to perform "cvs add" on the directories and to determine if a file has binary content and therefore provide the "-kb" option to "cvs add".

Food for thought.

-----Original Message-----
From: Mike Castle [mailto:address@hidden]
Sent: Wednesday, March 14, 2001 1:24 PM
To: address@hidden
Subject: Re: add directory heirarchy

On Wed, Mar 14, 2001 at 02:11:42PM -0500, Derek R. Price wrote:
>     $ find newdir -type f -exec cvs add {} \;

This is the first command I've ever seen that works better with -exec vs
-print | xargs

(Ie, it won't work at all with -print | xargs)

       Mike Castle       Life is like a clock:  You can work constantly
  address@hidden  and be right all the time, or not work at all and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen

Info-cvs mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]