I have recently begun using a VPS and am learning linux along the way. I have compressed a folder using tar, then I gzipped it and used scp to send it to my server. When I decompress using tar -zxvf .tar.gz, all of the files within the folder still have .gz . Am I compressing the folder wrong to begin with?
feedback
|
|
Is it possible that you first
If yes - the first
Or even simpler
| |||||
feedback
|
|
Yes, you are compressing the folder wrong to begin with. You can do it correctly all in one step like this:
| |||
|
feedback
|
|
Try a "tar -tvzf" on your archive and check if the files inside the archive are individually gzipped from their file names. It's the only way I can think of that might make this happen, although I'm not sure how you would have gzipped each file while compressing. | |||
|
feedback
|