polemicz Posted February 15, 2007 Share Posted February 15, 2007 I just recovered data on a hard drive whose table got trashed and used photrec to recover the data. It, however, recovers the title of the files into hex, save the "extension" ( these are from my son's external drive which was a fat32 on his Windows system and contain his music collection, so the files are now named something like f548397.mp4). I've not been able to come across a utility to do this. I looked at convmv, but that doesn't seem to do it. There may be, I hope, some simple way to do this. Any help would be greatly appreciated. Link to comment Share on other sites More sharing options...
Gowator Posted February 15, 2007 Share Posted February 15, 2007 If you don't find anything then ls | hexdump -C provides a base... This could be put into a perl or awk (cut/paste) With for instance (and don't run this Im going out but Ill get back tomorrow) find . -name "*.mp3" -exec mv '{}' $HOME \; I need to think about piping it but should work if I can take output from the ASCI column of hexdump... Link to comment Share on other sites More sharing options...
polemicz Posted February 15, 2007 Author Share Posted February 15, 2007 In looking around via Google and looking at the "names" of the files, it seems Photrec does not recover the file names, so these characters are just that. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now