Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 7 of 7
  1. #1
    sloan_mini is offline Registered User
    Join Date
    Dec 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How can I edit a binary file

    I am attempting to open a file via the command line with vi. The file is apparently a binary file. I cant edit it is there another application that I should open this file with, possibly in the GUI?

  2. #2
    Giaguara's Avatar
    Giaguara is offline Chmod 760
    Join Date
    Nov 2002
    Location
    ~
    Posts
    9,534
    Thanks
    18
    Thanked 191 Times in 186 Posts
    Is this a .bin file? Those can usually be opened in OS X by double-clicking them.
    (or more about the file if not - what kind of binary file is it supposed to be?_
    Mac Mini Server | MacBook Pro | iPhone | Other Macs + a bunch of iPods, Newtons and other toys
    Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do.
    ~ Samuel Clemens | G's corner | Photos | @ Plus+ and Game Center

  3. #3
    sloan_mini is offline Registered User
    Join Date
    Dec 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This is a file that is meant to be edited with a text editor for EMC Retrospect Backup Software. I do not believe that it is a .bin. The icon shows it as a script, which it is. The script is invoked when the backup fails, The system generates an e-mail to the addresses listed in this script.

    Thanks

  4. #4
    Viro's Avatar
    Viro is offline Registered User
    Join Date
    Nov 2003
    Location
    Oxford, UK
    Posts
    2,497
    Thanks
    0
    Thanked 2 Times in 2 Posts
    What you need is a hex editor. 0xED is a pretty good one that I use.

  5. #5
    Giaguara's Avatar
    Giaguara is offline Chmod 760
    Join Date
    Nov 2002
    Location
    ~
    Posts
    9,534
    Thanks
    18
    Thanked 191 Times in 186 Posts
    Do you have Retrospect installed? I would think it comes with an editor if it has special needs for it. (otherwise I'd probably just use vim or e.g. Smultron)

    http://www.versiontracker.com/dyn/moreinfo/macosx/13108
    http://downloads.zdnet.co.uk/0,10000...178537s,00.htm
    http://downloads.zdnet.co.uk/0,10000...178888s,00.htm
    Mac Mini Server | MacBook Pro | iPhone | Other Macs + a bunch of iPods, Newtons and other toys
    Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do.
    ~ Samuel Clemens | G's corner | Photos | @ Plus+ and Game Center

  6. #6
    sloan_mini is offline Registered User
    Join Date
    Dec 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Script Editor

    Yes I have Retrospect installed. I was able to find and use 'Script Editor' which was already installed.

    I edited my script but it is not working. I know nothing about Apple Script. I called EMC, they do not support Apple Scripting. They suggested I call Apple.
    I followed the EMC User Guide / Manual exactly.

    I suspect the problem is with the invocation of the Mac mail client program. EMC said that Mac Users use about one of four e-mail clients and that could be where my problem is.

  7. #7
    Giaguara's Avatar
    Giaguara is offline Chmod 760
    Join Date
    Nov 2002
    Location
    ~
    Posts
    9,534
    Thanks
    18
    Thanked 191 Times in 186 Posts
    And Apple would not support AppleScripting either except maybe in enterprise configurations.
    Could the person who sent it to you send a copy in zipped format? Maybe the file resource forks went missing...
    Mac Mini Server | MacBook Pro | iPhone | Other Macs + a bunch of iPods, Newtons and other toys
    Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do.
    ~ Samuel Clemens | G's corner | Photos | @ Plus+ and Game Center

 

 

Bookmarks

Posting Permissions

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