vendredi 25 novembre 2016

unzip .bin file programaticall in ruby

I have a .bin which i am trying to unzip programatically. The directory is a temp directory in which the.bin file is saved.

I have tried to the following

change the permission of bin files by typing.
chmod -c 777 filenam.bin.
now run the bin file by typing

I shows error as illegal option c.

Can anyone help. Thanks.

Aucun commentaire:

Enregistrer un commentaire