info-cvs
[Top][All Lists]
Advanced

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

Re: [Fwd: Re: Rename directory]


From: Adrian Ho
Subject: Re: [Fwd: Re: Rename directory]
Date: Tue, 13 Dec 2005 20:16:21 +0800
User-agent: Mutt/1.4.1i

On Mon, Dec 12, 2005 at 11:48:53AM -0800, Ted Stern wrote:
> If you have files with spaces, use instead
> 
>    find <dirname> -print | xargs -i@ cvs add "@"

Better yet, if you've got GNU find:

  find <dirname> -print0 | xargs -0 cvs add

This allows for multiple filenames to be passed to a single cvs
invocation, whereas -i forces a cvs invocation for *each* file.

> similarly,
>  
>       find <dirname> -type d -print | xargs -i@ cvs add "@"
>       find <dirname> -type f -print | xargs -i@ cvs add "@"

  find <dirname> -type d -print0 | xargs -0 cvs add
  find <dirname> -type f -print0 | xargs -0 cvs add

- Adrian




reply via email to

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