-1
我有一個.bin,我試圖以編程方式解壓縮。該目錄是保存.bin文件的臨時目錄。在ruby中以編程方式解壓縮.bin文件
我曾嘗試以下
change the permission of bin files by typing.
chmod -c 777 filenam.bin.
now run the bin file by typing
這裏是一個Ruby代碼,我使用上述gunzip解有
%x(gunzip #{label_path})
給了我這個錯誤
unknown suffix -- ignored
我顯示錯誤的非法選項c。
任何人都可以幫忙。謝謝。
請分享錯誤訊息和您嘗試使用的ruby代碼解壓失敗。 – mudasobwa
編輯我的問題與紅寶石代碼 –
你根本不需要'chmod'。只要運行'gunzip'。 – mudasobwa