TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [TCLUG:407] Replacing netware with l



On Fri, 12 Jun 1998, Brad DeJong wrote:

> simple "alias 'rm $1' 'mv $1 /tmp/deleted"

The bummer about this is that you can't 'mv' across partitions.

You can work around the problem, like writing a script that copies the
file to the trash bin, then deletes the original, but that takes twice as
long and is of a kludgey nature.

Another option is to have your 'rm' alias 'mv' to ~/.trash; this gets
around the partition problem (and in fact is what NEXTSTEP does).

_____________________________________________________________________________
Christopher Reid Palmer : jaymz@acm.cs.umn.edu : innerFire on IRC (EFNet)

Free Software Special Interest Group : acm.cs.umn.edu/~jaymz/sigfs/
Digital Media Center : www.umn.edu/dmc/