Matthias wrote:

> sorry, this can't work. what are the options to undo cp, mv, or apt-get?

None of those commands have an --undo option.  (It would be nice if
they did.)  But I was hoping that instead this new Bash "undo"
command:

* would change "mv $1 $2 to mv $2 $1"
* would replace "cp $1 $2" with "rm $2"
* and would swap "apt-get install" and "apt-get remove".

I figured it'd be interesting to request the upstream bash maintainers
to add such a feature.

Or would it be better if I request to the coreutils people that they
add --undo options to those commands?

Or should I give up?  Nautilus has an undo command, and I bet KDE does
too; but is it not worth even requesting to command-line tool
maintainers to add undo functionality?

Regards,
-- 
Jason Spiro: software/web developer, trainer, IT consultant.
I support Linux, UNIX, Windows, and more.
Contact me to discuss your needs and get a free estimate.
+1 (613) 668-6096 / [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to