Re: about imports and cvs update
Harry Putnam <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.general |
|---|---|
| Organization | Still searching... |
| Message-ID | <[email protected]> |
Spiro Trikaliotis <[email protected]> writes: > Hello, > > * On Tue, Mar 16, 2010 at 09:09:08AM -0500 Harry Putnam wrote: >> Spiro Trikaliotis <[email protected]> writes: >> >> > Otherwise, you might want to use something like: >> > >> > $ find . | grep -v \/CVS\/ | grep -v \/CVS$ | tr \\n \\0 | xargs -0 -n 10 cvs add -- >> >> Nice.. and thanks for the detailed exposition. I've used unix like >> OS for many yrs, and still often am slightly awed by the power of its >> supposed simple tools in the hands of someone who knows how to use them. > > ... but this surely does *not* apply to my code above, nor to me. ;) OK, maybe the double use of grep -v could have been combined (but then wouldn't be quite so apparent what its doing). But otherwise it is a nice display of how to use unix tools...