UNDELETION EXT3 workaround

Jared Schlicht jschlicht at gmail.com
Tue Feb 19 03:41:54 UTC 2008

On Sunday February 17 2008 7:11:04 pm Vincent wrote:
> The Linux EXT3 file system zero's the file pointers when you delete a
> file.  The EXT2-Undeletion command does not exist with-in EXT3.  The
> following is a more modern solution to the problem.
> alias rm="mv --force --target-directory=$HOME/.Trash/"
> alias rmdir="mv --force --target-directory=$HOME/.Trash/"

The goal with desktop distros seems to be "The user should not have to touch 
the command line".

KDE has a trash system setup, I'm sure GNOME must as well.

Both Konqueror and Dolphin (File managers in Kubuntu) default to move to 

If the user is using the command line, I'd hope they know what they're doing.

-Jared Schlicht

More information about the Ubuntu-devel-discuss mailing list