[Top][All Lists]

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

Re: about imports and cvs update

From: Harry Putnam
Subject: Re: about imports and cvs update
Date: Thu, 18 Mar 2010 17:48:12 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Spiro Trikaliotis <address@hidden> writes:

>> The find command is flexible enough to do most of the work itself:
>> $ find . -type d \( -name CVS -prune -o -print0 \) | xargs -0 -n 10 cvs add 
>> --
>> and this variation should be safe regardless of what crazy characters
>> are present in filenames.
> Thank you!

I like it but:
Now you've stepped away from readability a slight bit in my opinion. I
suspect there are many cvs users even with unix backgrounds who would
have to ponder the -prune and -print0 flags a bit.

I think maybe the double grep -v is a bit more obvious. I know its not
really considered kosher by old unix hands...

I use find very frequently and have for many yrs, but would have had
to pound on `man find' a while to come up with that.

I've used both -prune and -print0 but don't often find need of it.  In
fact, only rarely.

reply via email to

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