[Top][All Lists]

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

Re: about imports and cvs update

From: Spiro Trikaliotis
Subject: Re: about imports and cvs update
Date: Wed, 17 Mar 2010 15:03:54 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Michael,

* On Wed, Mar 17, 2010 at 02:00:53PM +0100 Michael Haggerty wrote:
> Spiro Trikaliotis wrote:
> > $ find . -type d | grep -v \/CVS$ | tr \\n \\0 | xargs -0 -n 10 cvs add --
> 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 already thought it must be easier than grepping through it myself.
However, I did not find the right places in the manpage of find in order
to solve this.

I already knew about -print0 - in fact, I am using it regularly.
However, this would have interferred with my grep, thus, I avoided it.

Again, thank you for giving me the starting point to really understand

Best regards,

Spiro R. Trikaliotis                               

reply via email to

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