How do I undelete a file in GNU/Linux or UNIX?

Hi everyone,If I accidentally deleted a file in any GNU/Linux or Unix-based OS, is there anyway I can recover those files?Cheers,-Glen

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

How do I undelete a file in GNU/Linux or UNIX?

On Wed, Jan 31, 2007 at 01:00:35PM -0400, Glen Yu wrote:
> Hi everyone,
>
> If I accidentally deleted a file in any GNU/Linux or Unix-based OS, is there
> anyway I can recover those files?
>
This was recently discussed. The answers are:

1) from a recent backup
2) if you are using a non-journaling FS, Google may turn up some info

Regards,

-Roberto

--
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com

How do I undelete a file in GNU/Linux or UNIX?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/31/07 11:00, Glen Yu wrote:
> Hi everyone,
>
> If I accidentally deleted a file in any GNU/Linux or Unix-based OS, is
> there
> anyway I can recover those files?

If you are using the ext2 filesystem and pulled the plug
immediately, there's a slim chance.

Otherwise, restore from backup.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFwMzaS9HxQb37XmcRAqGoAKDJcrYVwriFRn+BD1+uKuZE5rz2iQCaArCI
6iHzoqzGh2GWildQr6Zg4nk=
=0Yyk
-----END PGP SIGNATURE-----

--

How do I undelete a file in GNU/Linux or UNIX?

I was hoping there was some way to resolve it without having to contact the admins =P, but I guess there's just no other choice huh?Anyway, thanks for your input.Cheers,-Glen
On 1/31/07, Ron Johnson <ron.l.johnson@cox.net> wrote:
-----BEGIN PGP SIGNED MESSAGE-----Hash: SHA1On 01/31/07 11:00, Glen Yu wrote:> Hi everyone,>> If I accidentally deleted a file in any GNU/Linux or Unix-based OS, is> there> anyway I can recover those files?
If you are using the ext2 filesystem and pulled the plugimmediately, there's a slim chance.Otherwise, restore from backup.-----BEGIN PGP SIGNATURE-----Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFFwMzaS9HxQb37XmcRAqGoAKDJcrYVwriFRn+BD1+uKuZE5rz2iQCaArCI6iHzoqzGh2GWildQr6Zg4nk==0Yyk-----END PGP SIGNATURE-------To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

How do I undelete a file in GNU/Linux or UNIX?

--- Glen Yu wrote:

> Hi everyone,
>
> If I accidentally deleted a file in any GNU/Linux or Unix-based OS,
> is there
> anyway I can recover those files?

Usually, there isn't. On 'BSD hacks' there is a handy shell script
that will backup deleted files to a hidden .trash directory. You will

find it on Google.

--
Ottavio Caruso

I will not purchase any computing equipment from manufacturers that recommend Windows Vista™ or any other Microsoft® products.
http://www.pledgebank.com/boycottvista

____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com

--

How do I undelete a file in GNU/Linux or UNIX?

Glen Yu wrote:

> If I accidentally deleted a file in any GNU/Linux or Unix-based OS, is
> there anyway I can recover those files?

The good news is the file can be recovered in exactly the same way as you do
in windows: Restore the file from a recent backup.

The bad news is you need to have a backup handy. External firewire hard
drives of massive capacity are getting inexpensive, and faubackup can
handle nightly backups like a champ.

--

Syndicate content