urgent: I just rm-r a directory

Bill Moran wmoran at collaborativefusion.com
Sun Aug 6 23:18:13 UTC 2006


Ian Lord <mailing-lists at msdi.ca> wrote:

> I did a rm-r by mistake on a directory... any way to recover ?

As has already been said, it's extremely difficult to recover an
rmed directory.

If you don't have backups, and the data is _very_ importation, immediately
shut down the OS and turn off the system to avoid overwriting anything.
It's possible that there's still enough data on the disk to reconstruct
everything, but any time you write to the disk you could be destroying
it.

>From there, the road to recovery is difficult and/or expensive.  There
are folks out there with the knowledge to recover a deleted directory,
and there are some HOWTOs floating around the 'net, but it's an involved
and time-consuming process.

-- 
Bill Moran

Democracy is two wolves and a lamb voting on what to have
for lunch. Liberty is a well-armed lamb contesting the vote.

	Benjamin Franklin



More information about the freebsd-questions mailing list