Hello friends,
I uploaded a .sql dump of a DB and need to extract it.Unfortunately the code does not seems to be working
Code:
tar -zxvf file.sql.gz
So what am asking here is that what is the command for doing this
many thanks..as always
Hello friends,
I uploaded a .sql dump of a DB and need to extract it.Unfortunately the code does not seems to be working
Code:
tar -zxvf file.sql.gz
So what am asking here is that what is the command for doing this
many thanks..as always
In order to compress a file or folder do this command.in this instance,I am tarring my web directory:
The Command should look like some thing:
tar -pczf web.tar.gz web/
Now to untar the same command:
tar xvfz web.tar.gz
Did you got it in your Home Folder? Extract it to a folder. Go into the folder. Click on the Shell Script that says Firefox underneath. It should begin this way:
gunzip <filename.tar.gz>
tar xvf <filename.tar>
./configure
and making the install
My learning is that .gz usually just denotes gzip. .tar.gz is for a file that was tarred and gzipped.I think .tar.gz and .tgz are two interchangeable extensions for the same file format - a gzipped tar file. So changing the name of the file should not be an issue.You may try alternative way of gunzip file.sql.gz
Bookmarks