New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Is this a stupid question?


Post Reply New Thread Subscribe

 
Thread Tools
roger_bailey

 
Member Since: Apr 25, 2009
Posts: 2
roger_bailey is on a distinguished road

roger_bailey is offline
I'm using OS X 10.5.6 on a Intel Mini and trying to rescue some deleted files using a downloaded utility (photorec). When I double-click the photorec binary icon in Finder, it opens nicely in a terminal window, but I can't supply a required parameter. When I try to run photorec directly using sh, I get "photorec: cannot execute binary file". Checking the file info in Finder says it a PowerPC executable. There's no option under "open with" to force it be opened using Rosetta. What should I being doing? This is really bugging me -- I just want to recover my files and get back to work!
QUOTE Thanks
scathe

 
scathe's Avatar
 
Member Since: Jan 12, 2009
Location: Prague, Czech Republic
Posts: 1,096
scathe is a jewel in the roughscathe is a jewel in the rough
Mac Specs: 2,4Ghz 15" unibody

scathe is offline
have a look at this:
PhotoRec Step By Step - CGSecurity


Edit:
btw, it is an application that runs from the Terminal anyway, so you said it does start to the Terminal and that's fine, so you just use your arrows and return to navigate in the porgram itself, kinda curious rly, but it works for me, although you don't have much choice as to what to recover, just let it run and wait, so this goes back to how far back you lost the file, it never is a 100% deal when recovering deleted ... but you do need to know a bit about your system to select the right options

anyway keep in mind that recovery has a best chance when you run it right after deleting, if you continue using the disk then your chances drop dramatically
QUOTE Thanks
roger_bailey

 
Member Since: Apr 25, 2009
Posts: 2
roger_bailey is on a distinguished road

roger_bailey is offline
Misunderstanding. If you double-click the photorec icon in Macintosh finder it starts Terminal running photorec o.k. But there's no way of using this method to supply a parameter. The application WON'T open directly from an already running Terminal process.
QUOTE Thanks
scathe

 
scathe's Avatar
 
Member Since: Jan 12, 2009
Location: Prague, Czech Republic
Posts: 1,096
scathe is a jewel in the roughscathe is a jewel in the rough
Mac Specs: 2,4Ghz 15" unibody

scathe is offline
what do you need to pass off as a parameter?

Edit:
these are the only params it can receive:
[/log] [/debug] [/d recup_dir] [file.dd|file.e01|device]

I'm really not sure how to supply the last, but I think all of these can be selected once the utility starts through it's menu system
QUOTE Thanks

Post Reply New Thread Subscribe


« darwinports can't install sqlite3 | Terminal files don't seem to be associated properly anymore »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
stupid question trey5498 OS X - Development and Darwin 2 03-31-2008 09:36 AM
Maybe the most stupid question... Cindy_Mikey OS X - Apps and Games 3 01-21-2008 01:42 PM
Most Stupid Question Ever? Lewwy Images, Graphic Design, and Digital Photography 4 11-19-2007 05:43 PM
Stupid question about buying in Delaware efs120 Apple Notebooks 4 08-13-2007 06:39 PM
stupid question i know Dymo Switcher Hangout 1 11-29-2003 07:47 PM

All times are GMT -4. The time now is 08:26 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?