简体   繁体   English

无法提取tar.gz文件

[英]can't extract tar.gz file

I used backup.sh : 我用了backup.sh:

#!/bin/bash

NOW=$(date +"%m-%d-%Y-%H-%M-%S")
cd /home/sebastien/save

tar -zcvf backup.$NOW.tar.gz /var/www/Symfony/

in /home/sebastien/save i have: 在/ home / sebastien / save中,我有:

-rwxrwxrwx  1 root      root         45 nov.  10 15:50 backup.11-10-2015-15-50-01.tar.gz*

i'm trying to extract this file with : 我正在尝试使用以下方法提取该文件:

tar -zxvf backup.11-10-2015-15-40-01.tar.gz -C /home/sebastien/tmp/

but Nothing is happening /home/sebastien/tmp is empty! 但没有任何反应/ home / sebastien / tmp为空!

尝试删除其他阻止进程的命令。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM