LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-15-2015, 02:20 PM   #1
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Rep: Reputation: 32
How do I recover files with the original names


I have some scanning work that is being done, and I accidentally deleted the folder with all of the PDF files on it. There have been many files on this flash drive so finding the files I am looking for won't be easy. I am asking if there is a file recovery tool that not only recovers the files, but it also recovers the file names and the name of the folder that it was stored in.
 
Old 01-15-2015, 02:22 PM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,308

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
look into using photorec.

some advice: mount the drive read-only (subsequent writes to the drive may overlay deleted files).
 
Old 01-15-2015, 02:39 PM   #3
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by schneidz View Post
look into using photorec.

some advice: mount the drive read-only (subsequent writes to the drive may overlay deleted files).
I imaged the drive, and I have used photorec before and it doesn't recover the folder with the original name. It doesn't recover folders as much as it just recovers the files. I want something that can recover the folder (or tell me what folder the computer got the files from in the first place). Is there a feature in photorec that will show me the name of the files and the location that it used to be in. I am using foremost right now on the image I made.
 
Old 01-15-2015, 05:30 PM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,308

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
it mite not be feasible to know the folder [sic] (directory ?). since the file is unlinked from the filesystem the os mite not retain that metadata.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to recovery files with original names? inkscape Linux - Software 12 01-17-2013 03:50 PM
Convert many files to individual .bz2 files retaining original name? touser Linux - Newbie 5 03-29-2010 12:58 AM
how to recover GRUB without original installation CD yumener Linux - Software 5 12-07-2005 10:51 AM
Reinstalling Samba doesn't recover the original /etc/samba/smb.conf Akhran Debian 2 11-11-2005 12:54 AM
SAMBA: display of share names is OK but files names are wrong superandrzej Linux - Software 5 02-02-2004 09:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration