[Top][All Lists]

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

Re: ops, does cvs admin -kb hurt anthing?

From: Larry Jones
Subject: Re: ops, does cvs admin -kb hurt anthing?
Date: Fri, 18 Apr 2003 18:54:10 -0400 (EDT)

Ronald Petty writes:
> find . -name *.jpeg | xargs cvs admin -kb
> And since there are no jpeg files somehow cvs just assumed do it for the
> current directory and starting doing it to every file.

This is off-topic for this list, but most versions of xargs always run
the command at least once, even when the input is empty (although GNU
xargs has a --no-run-if-empty flag that can be useful at times).  So,
you ended up running:

                cvs admin -kb

which means, like usual, to process every file in the current directory,
recursively.  It's always a good idea to run find all by itself and make
sure that the resulting list is what you expect before you pipe it into

-Larry Jones

I'm crying because out there he's gone, but he's not gone inside me. -- Calvin

reply via email to

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