bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: cp, mv --test: brilliant idea


From: Bob Proulx
Subject: Re: cp, mv --test: brilliant idea
Date: Fri, 7 Jun 2002 18:15:38 -0600
User-agent: Mutt/1.3.28i

> Whereas one often is unsure or forgets how
> $ cp -some_flags some/big/tree some/other/big/tree
> might turn out, it seems a very good idea to give cp a --test switch
> to print what would happen without actually doing anything.

Since 'cp' and 'mv' don't have any if-then-else type of control flow
that I can think of I am having a hard time thinking up a time when
they would not do exactly what you asked them to do.  Therefore a
preview --just-print mode seems of very limited value.

> Sure you might have a magic rule to remember, or RTFM with ease, but
> not me.

The rule is that it does exactly what you tell it to do but not what
you want it to do?  :-)

Bob



reply via email to

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