[Gllug] trashman - a trash management utility for Linux filesystem

Richard Jones rich at annexia.org
Mon Jan 30 13:14:39 UTC 2006


On Mon, Jan 30, 2006 at 12:08:16PM +0000, Dan Stevens (IAmAI) wrote:
> > By default, on Ubuntu, the trash icon is in the bottom right hand
> > corner, on the toolbar.
> 
> Oh, yes! I recall that now. Does it only work via the GUI, or is there
> a method of utilising it via the console? I do most of my file
> management using the console.

Well you can simply add this one liner to (for example) ~/.bashrc
which will do exactly what you want.

del () { mv -i ${*} ~/.Trash; }

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list