0

ファイル「derp」を復元しようとしている間、端末は derp0000644000175000017500000000000512343302711011660 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"
4

1 に答える 1

0

「gunzip -c」は、ファイルではなく stdout に解凍します。「man gunzip」を使用して、gunzip のオプションを確認します。

于 2014-06-03T09:37:01.680 に答える