From: "Rudolf Polzer" <AntiATField_adsgohere / durchnull.de> > > /usr/local/bin/recycle: > | #!/bin/sh > | > | mkdir -p "$HOME/.recycled" > | > | for x in "$@"; do > | if [ "`echo "$x" | cut -f 1 -d /`" != '' ]; then > | x="`pwd`/$x"; > | fi > | y="`echo "$x" | sed 's/-/-_/g;s/\//--/g'`" > | mv "$x" "$HOME/.recycled/$y" > | done > > ..bashrc: > | alias rm=recycle > Nice. CAn we have that in Ruby, please? :) Gavin