Results 1 to 4 of 4
  1. #1
    Is this a stupid question?

    Member Since
    Apr 25, 2009
    Posts
    2
    Is this a stupid question?
    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!

  2. #2
    Is this a stupid question?
    scathe's Avatar
    Member Since
    Jan 12, 2009
    Location
    Prague, Czech Republic
    Posts
    1,096
    Specs:
    2,4Ghz 15" unibody
    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

  3. #3
    Is this a stupid question?

    Member Since
    Apr 25, 2009
    Posts
    2
    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.

  4. #4
    Is this a stupid question?
    scathe's Avatar
    Member Since
    Jan 12, 2009
    Location
    Prague, Czech Republic
    Posts
    1,096
    Specs:
    2,4Ghz 15" unibody
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. stupid question
    By Sally14 in forum Switcher Hangout
    Replies: 4
    Last Post: 04-06-2012, 07:16 PM
  2. stupid question
    By trey5498 in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 03-31-2008, 09:36 AM
  3. Maybe the most stupid question...
    By Cindy_Mikey in forum OS X - Apps and Games
    Replies: 3
    Last Post: 01-21-2008, 01:42 PM
  4. stupid question
    By kyle_sloopka in forum OS X - Operating System
    Replies: 4
    Last Post: 09-06-2005, 05:43 PM
  5. Probably A Stupid Question
    By lnetubaplyr in forum Apple Notebooks
    Replies: 4
    Last Post: 02-14-2004, 08:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •