0

While trying to restore the file "derp" the terminal prints derp0000644000175000017500000000000512343302711011660 0ustar UserUserDerp and does not unpack the files , i am confused can someone help me ?

# 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”解压缩到标准输出而不是文件。使用“man gunzip”查看 gunzip 的选项。

于 2014-06-03T09:37:01.680 回答