extract tar.gz file in other directories
I stay in /var/www/upload and I want extract a file with tar command.
The output of tar xfvz /var/www/file.tar.gz is Quote:
|
My Italian isn't great, but doesn't that just say 'no such file or directory'? The path looks to be wrong. The file you talk of is a .gz, but the error you show is for a .bz2
Try using tab-completion when entering long paths to files, that's what I do. it helps eliminate typos. |
Quote:
Code:
"tar: / var/www/esempio.tar.bz2: function "open" failed: No such file or directory tar: Error irretrievable: immediate exit tar: Child Returned status 2 tar: Output with bankrupt according to previous errors" tar xvfj /var/www/upload/esempio.tar.bz2 ?? or are you saying you want to extract the zip file to /var/www/ |
Quote:
If you want to extract tar file to another directory, then Code:
tar xvfz file.tar.gz -C /new/directory |
Code:
tar: /var/www/esempio.tar.bz2: funzione "open" non riuscita: Nessun file o directory |
All times are GMT -5. The time now is 12:30 AM. |