From: kevin lyda (kevin at domain suberic.net)
Date: Wed 23 May 2001 - 10:40:57 IST
sometimes i move files aside for a short time and then want them
moved back. i find it annoying that there's that much typing involved.
so i wrote the following; people might find it useful.
the way i use it goes like so:
% mv foo foo.old
% vm !mv:*
anyway, the script:
if [ $# -ne 2 ]; then
echo "need two arguments"
if [ -d $2 ]; then
echo "the source is a directory. aborting."
mv $2 $1
-- kevin at domain suberic.net "Maybe one day downtrodden poo-eaters will fork()'ed on 37058400 get a fair shake in Savage Love, but it's meatspace place: home not going to be today." http://suberic.net/~kevin --dan savage, "savage love"
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:26 GMT