Unerase Files

Øyvind Stegard oyvinst at ifi.uio.no
Sat Nov 10 12:17:00 UTC 2007


ons, 07.11.2007 kl. 11.42 -0500, skrev Jan Sneep:
> > > Command ran, took some time, but as far as I can tell 
> > didn't produce any
> > > results?
> > > 
> > > root at ubuntu:/home/jan# find / -name ?.trash?
> > > root at ubuntu:/home/jan#
> > 
> > I tried it just for fun and got a great long list of 
> > permission denied.
> > Thus, I presume the command line must be preceded by sudo.
> > 
> > Norman
> 
Try:
find / -type d -a \( -name ".Trash" -o -name ".Trash-$USERNAME" \) -print 2>/dev/null

Trash folders are also sometimes named ".Trash-USERNAME" (probably every
Trash-folder you have outside of your home dir fs).

Run it as root to get every users' Trash-folders:
sudo find / -type d -a \( -name ".Trash" -o -name ".Trash-*" \) -print

Øyvind
-- 
< Øyvind Stegard ~ oyvinst at ifi uio no
 < http://www.oyvind.nu/





More information about the ubuntu-users mailing list