Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-20-2008, 05:24 PM   #1
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Rep: Reputation: 15
Question restoring files which were deleted by a mac

How i got to this situation:
I have/had an ipod 5g with approx 10000 tracks stored on it. I always use a windows pc to add new tracks from cd's that i buy, but the library on the windows pc is not up to date and contains only 8000 tracks.
i had recently backed up my ipod, to a nix machine, and started a process to get my windows library up to date, with accurate filenames etc. I had been using the ipod as a portable music library, which i just plugged into any computer to play the music via the computer's software. Two days ago, i plugged the ipod into a powerbook g4 mac. i played some music on it for a while, then ejected it. when i went to play music on the ipod as a stand alone player, it wouldnt play any tracks, and when i plugged it back into my windows pc and browsed the ipod as an external disk 35gb of music data had mysteriously disappeared.

i then proceeded to spend a lot of time googling recovery from this sort of situation. i came up with a few answers, a command line utility for linux, which i tested out and while it recovered all of the files lost, named them with totally random names. I also came across a utility for windows which was priced at over 100 dollars.

basically what i want to know is does anyone know of a utility for any of windows, mac or nix that can restore files with their original filenames and directory structure. I don't mind paying for the software, at least not if the price is not too high, but i need to know if it can get the filenames and dir structure from the device.

it is formatted with fat32.

thanks in advance for any pointers.
Old 02-20-2008, 06:30 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
From a quick google, you might read this thread.

Otherwise, you might be able to use extract and/or libextractor to get your filenames from the metadata (ID3 tags) in the files you recovered, then script it to rename the files. I'm guessing the heirarchy is lost.
Old 02-20-2008, 06:59 PM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
If you have musicman installed, you can rename all of the mp3 files in a directory based on the id3 tags from a context menu in konqueror. Some of the mp3 player programs will do the same thing.
Old 02-21-2008, 01:32 AM   #4
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
thanks for the suggestions, but the file structure wasn't based on the id3 data, so creating new file names based on that is no good for what i need.


file, restore, undelete

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
Help restoring deleted files/ mount question dlackovic Linux - Newbie 16 11-23-2007 04:31 AM
Mepis, copy files to thumb drive, files deleted? vremenno Linux - Newbie 6 09-15-2006 11:21 PM
Restoring deleted files on ext3 jaa1180 Fedora 5 05-07-2006 10:19 PM
deleted xinetd, need help restoring bigVoice Mandriva 2 01-16-2004 07:27 AM
accidentally deleted files--need help restoring on reiserfs darksarin Linux - General 4 11-23-2003 07:13 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:57 PM.

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