[urgent] How to undelete a file
Ouattara Oumar Aziz
wattazoum at gmail.com
Thu Jul 20 21:45:42 UTC 2006
> Aha! You got me curious with this one
>
> Read this
> http://www.oreillynet.com/pub/h/363
>
> DONT CLOSE TOTEM UNTIL YOU GET THE FILE BACK
> \
>
Here I go :
$ lsof | grep totem
....
totem 15515 wattazoum 27r REG 8,1 50739200 6363
/media/ZIZOU_4/Loisirs/Clips/Bon amv/FLCL - X-Japan - Rusty Nail .avi
(deleted)
....
$ cd /proc/15515/fd/
$ ls -l
....
lr-x------ 1 wattazoum wattazoum 64 2006-07-20 23:25 27 ->
/media/ZIZOU_4/Loisirs/Clips/Bon amv/FLCL - X-Japan - Rusty Nail.avi
(deleted)
....
$ file 27
27: broken symbolic link to `/media/ZIZOU_4/Loisirs/Clips/Bon amv/FLCL -
X-Japan - Rusty Nail.avi (deleted)'
$ cp 27 /home/wattazoum/test/recovered.avi
$ mplayer /home/wattazoum/test/recovered.avi
....
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm: ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
....
YEAH !!! My file is running well, I have recovered it !
ps : if only I didn't shut totem down :'(
___________________________________________________________________________
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences.
http://fr.answers.yahoo.com
More information about the ubuntu-users
mailing list