Skip navigation

/usr/bin/binhex - replace output file?

392 Views 5 Replies Latest reply: May 21, 2012 10:21 AM by Frank Caggiano RSS
W SCOTT COLE JR Level 1 Level 1 (75 points)
Currently Being Moderated
May 18, 2012 1:22 PM

I want to force the replacement of an already existing output file that would result from "binhex encode foo" or "binhex decode foo.hqx".

 

The man page tells me to use -f or --force:

 

-f, --force
          perform the operation even if the output file already exists

 

but the option isn't recognized:

 

$ ls

seq2

$ binhex encode seq2

$ ls

seq2        seq2.hqx

$ binhex -f seq2.hqx

binhex: invalid option -- f

$ binhex --force seq2.hqx

binhex: unrecognized option `--force'

$ binhex decode -f seq2.hqx

binhex: invalid option -- f

$ rm seq2

$ binhex seq2.hqx

$ ls

seq2        seq2.hqx

 

Am I misinterpreting the man page, or otherwise doing something silly? I don't want to send the output elsewhere and copy it back later.

iMac (20-inch Mid 2007), Mac OS X (10.7.3)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.