質問

ターミナル印刷を「DERP」ファイルを復元しようとしている 0ustar UserUserderp. ファイルを解凍しない、私は誰かが私を助けてくれることができますか?

# let the user choose what they want to Restore
echo -n "Select the file or directory you want to Restore" 
read chosendata 

echo -e "Starting Restore"

# unziping files
gunzip -c ${chosendata}
 # end the backup.
echo -e "Restore complete"
.

役に立ちましたか?

解決

"gunzip -c"ファイルがファイルよりもstdoutに解凍します。gunzipのオプションを確認するには、 "man gunzip"を使用してください。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top