Bin file

Member
Posts: 67
Joined: 2006.06
Post: #1
I want to Extrract something from a bin file then remove the bin file. With unix commands.
Open binfile ; rm binfile obviously does not work because it only waits for the open command to finish then just leaves whatever tool it opened sitting there confused as to who woke it up.

Lots of online source sseem to think I should have unbin which I do not have nor can I find. And as far as I can tell none of the normal archving commands do not recognize bin.

What should I use?

The machine does not run without the coin.
Quote this message in a reply
Member
Posts: 104
Joined: 2007.01
Post: #2
I know on Linux, my game installers use a .bin extension. But they are actual executables, not compressed archives. I think .bin is used for lots of different things on *nix. Are you sure the bin file you've got is an archive and not something else?
Quote this message in a reply
Moderator
Posts: 453
Joined: 2008.04
Post: #3
man open says:

-W Causes open to wait until the applications it opens (or that were already open) have exited.

So if you do "open -W binfile.bin; rm binfile.bin", that would work.
Quote this message in a reply
Member
Posts: 67
Joined: 2006.06
Post: #4
AndyKorth Wrote:man open says:

-W Causes open to wait until the applications it opens (or that were already open) have exited.

So if you do "open -W binfile.bin; rm binfile.bin", that would work.

Wow, I looked at all the options for pretty much all the other tools except open. Thanks Ill try it.

The machine does not run without the coin.
Quote this message in a reply
Member
Posts: 67
Joined: 2006.06
Post: #5
Yes its an archive. If I get rid of the ; rm bin; it extracts I just have a bin file is sitting there I don't want.

ALso my man open does not show a -W. ANd using -W gives me horrible errors.

The machine does not run without the coin.
Quote this message in a reply
Post Reply