同时尝试恢复文件“derp”终端打印 DERP00006440001750000000005/301750000000005/3017500000005/173302711011660 0STRAR 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而不是文件。使用“Man Gunzip”来查看Gunzip的选项。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top