[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.
- Re: about imports and cvs update, (continued)
- Re: about imports and cvs update, Spiro Trikaliotis, 2010/03/14
- Re: about imports and cvs update, Harry Putnam, 2010/03/14
- Re: about imports and cvs update, Spiro Trikaliotis, 2010/03/15
- Re: about imports and cvs update, Harry Putnam, 2010/03/16
- Re: about imports and cvs update, Kenneth Wolcott, 2010/03/16
- Re: about imports and cvs update, Spiro Trikaliotis, 2010/03/16
- Re: about imports and cvs update, Harry Putnam, 2010/03/16
- Re: about imports and cvs update, Spiro Trikaliotis, 2010/03/17
- Re: about imports and cvs update, Michael Haggerty, 2010/03/17
- Re: about imports and cvs update, Spiro Trikaliotis, 2010/03/17
- Re: about imports and cvs update,
Harry Putnam <=
- Re: about imports and cvs update, Spiro Trikaliotis, 2010/03/20
- Re: about imports and cvs update, Michael Haggerty, 2010/03/14
- Re: about imports and cvs update, Harry Putnam, 2010/03/14
Re: about imports and cvs update, Larry Jones, 2010/03/14