The gz tag has no wiki summary.
0
votes
1answer
14 views
Remote restore gz mysql database
I tried
$> ssh root@ip "gunzip < [backupfile.sql.gz] | \
mysql -u [uname] -p[pass] [dbname]"`
but get the error:
ERROR 1044 (42000) at line 42: Access denied for user '[uname]'@'%'
...
0
votes
0answers
37 views
how to open .nt Files after exttractin them from tar.gz using windows os
I downloaded a compressed file from this site and the format of file is tar.gz. My OS is Windows 7.
When I attempt to open it it contains a one file with.nt format.
I clicked on it in order to ...
0
votes
1answer
57 views
Create a tar and splitting it into multiple archives then putting them back together
I am using the following for creating the tgz files:
tar zcf - /usr/folder | split -b 30720m - /usr/archive.tgz
Now I get three files: archive.tgzaa, archive.tgzab and archive.tgzac
So again I ...
-3
votes
1answer
119 views
.tar file to excel conversion [closed]
Hi i was requested to convert a file by one of my client.I need to convert a .tar file to a ms excel. I gave the below steps to them but some of the fields in the content are missing. Please suggest ...
1
vote
5answers
190 views
Any method to batch-compress multiple files?
Does anyone know how multiple files can be GZIP compressed?
I have lots of files in a folder and I need to compress them individually.
Actually, I've found a way to do it. GZIP command line binary ...
0
votes
2answers
170 views
Use tar and gz to create archive in Ubuntu Terminal
I want to archive 3 folders, given their names in Ubuntu command prompt.
When I use tar -c abc tt zz -> it will do nothing.
1
vote
1answer
606 views
How do I unzip a tar gz archive to a specific destination?
I want to unpack a .tar.gz file to a specific directory.
The archive file is in /root/Documents. I want to unzip it into /root/Desktop/folder. The folder structure in zipped file should be preserved ...
1
vote
1answer
604 views
Convert .tar.gz/.tar.bz2 to .7z in batch?
How do I convert .tar.gz and .tar.bz2 files to .7z files using the command line?
5
votes
5answers
327 views
How to do the equivalent of “grep something * -Rin” on list of tar.gz files?
I've got a bunch of tar.gz files and I want to do a "grep something * -Rin" as I would on them if they weren't tar.gzed. I want to keep them tar.gzed as they are, but grep on them on-the-fly and find ...
3
votes
1answer
233 views
Critical gzip mistake (HELP!) - how to undo 'gzip -r ./'
So I was hoping to make a gzipped backup of my entire directory stucture, but I was very stupid and issued the command 'gzip -r ./' hoping to add all files and folders to a single gzip archive. This ...
22
votes
4answers
2k views
gzip without tar? Why are they used together?
Why are tar and gzip almost always used together, and not just gzip? Is there any advantage to that method?
1
vote
3answers
201 views
“tar -czf” for first 5 thousand files
I have a directory with too much files in it.
I want to compress first 5 thousand files in that directory to become file.tar.gz and then 5001 - 10000...and so on
how to do it?
2
votes
3answers
7k views
How to open a .tar.gz file in Windows?
I need to open a file that sadly is only available in the .tar.gz file format and I am using Windows 7. I can unzip the file using 7-zip but after that I still have a .tar file that I can't open in ...
0
votes
2answers
903 views
gzip for 64-bit Windows
Does anyone know any version of Gzip which supports 64-bit Windows? I could not find anything.
2
votes
2answers
282 views
How to tell if a .gz file is really gzipped?
What a nice command line trick to tell if a .gz file is really gzipped or just named that way?
1
vote
1answer
272 views
Importing to mysql from a .gz via shell - how to do it without extracting to a file?
i have a .gz file of an sql dump. at the moment i extract it to its own file (ie dump.sql.gz extracted to dump.sql) then i import that file, then once its done i delete the file.
how can i just ...
25
votes
6answers
16k views
How do you gunzip a file and keep the .gz file?
The default behavior of gunzip is to delete the .gz file after it decompresses.
How do I prevent it from deleting the file??
If this functionality is not included then is there an alternative ...
22
votes
18answers
13k views
Untar, ungz, gz, tar - how do you remember all the useful options?
I am pretty sure I am not the only one with the following problem: every time I need to uncompress a file in *nix I can't remember all the switches, and end up googling it, which is surprizing ...