Sign in with
Sign up | Sign in
Your question

Recovering deleted files from a Tar file

Tags:
  • Data Recovery
  • Linux
Last response: in Linux/Free BSD
Share
July 10, 2014 12:54:03 PM

Hi everybody.

My archive manager suddenly deleted 4 root directories from a Tar file when i tried to delete some files that were in one of this directories (i really don't know how that happened). Is there anyway to recover those directories and the files that were on them?

The partition where the Tar file was wasn't touched since then, but i can't find the data from the files. The Tar file probably changed the headers of the files, so i can't find them using a software like Disk Digger, that analyses the disk sector-by-sector looking for file signatures.

Ps.: It was not compressed, it was just a regular .tar file.

Thanks!

More about : recovering deleted files tar file

July 12, 2014 5:09:39 PM

Open up terminal and log in as root user, then try this:

find / -name <insert part of the name of your file here>

eg.

find / -name *.tar

(this will output all files in the file system ending in .tar)

If that generates no results (it may take a few minutes depending on size of your file system) then more than likely the files have been deleted.
m
0
l
!