Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2002 23:51:46 -0700
From:      Adam Weinberger <adam@vectors.cx>
To:        Peter Leftwich <Hostmaster@Video2Video.Com>
Cc:        FreeBSD LIST <FreeBSD-Questions@FreeBSD.ORG>
Subject:   Re: /etc/make.conf and AMD Athlon 600
Message-ID:  <20021008065146.GM81796@vectors.cx>
In-Reply-To: <20021008004131.O35848-100000@earl-grey.cloud9.net>
References:  <0eit0e7p6q.t0e@localhost.localdomain> <20021008004131.O35848-100000@earl-grey.cloud9.net>

next in thread | previous in thread | raw e-mail | index | archive | help

>> (10.07.2002 @ 2143 PST): Peter Leftwich said, in 0.8K: <<
> I didn't have .../share/mk/ so I went out with google and downloaded
> bsd.cpu.mk -- Wouldn't it be nice if "mv" had a flag to create directories
> if they don't exist?  Same with the command "touch."

put this in your shell's rcfile:
mvm() {mkdir -p `dirname $2` && mv $1 $2;}

seriously, peter, get a book on UNIX utilities. the o'reilly "unix power
tools" book is great.

-Adam


--
"Oh good, my dog found the chainsaw."
        -Lilo, "Lilo & Stitch"
Adam Weinberger
adam@vectors.cx


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021008065146.GM81796>