当尝试恢复文件"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"
"gunzip -c"解压缩到标准输出而不是文件。使用"man gunzip"查看gunzip的选项