Sudden problem 7zip can not overwrite

R

Roland Mösl

Windows Home Premium 64 Bit

Drive D: originaly like I got the notebook

My software worked, but there are suddenly
strange problems.

My CMS calls 7zip to compress a file.

7zip can suddenly not overwrite
an existing *.gz file.

7zip can only create new files.

Maybe changes with todays update?
 
D

Dave \Crash\ Dummy

Roland said:
Windows Home Premium 64 Bit

Drive D: originaly like I got the notebook

My software worked, but there are suddenly
strange problems.

My CMS calls 7zip to compress a file.

7zip can suddenly not overwrite
an existing *.gz file.

7zip can only create new files.

Maybe changes with todays update?
When were the originals created? Can you overwrite new GZ files when you
create them?
 
D

Dave \Crash\ Dummy

Dave said:
When were the originals created? Can you overwrite new GZ files when
you create them?
Although I have 7-Zip, I have never created a *.gz archive before, so I
thought I'd give it a try. The first thing I learned is that I can't
create a *.gz archive directly from a collection of files. I first have
to create a *.tar archive, then process that into a *.tar.gz file. Don't
ask me why. I'm a *.zip kinda guy. I've only seen *.tar.gz files
secondhand, when I downloaded them and had to unpack them. I've never
seen the "gz" without the "tar." Anyway, having managed to create a
*.tar.gz archive, I repeated the process with a new collection of files
and overwrote my first archive with no problem. So I don't know why you
can't.

I am running Windows 7 Ultimate x64.
 
P

Parko

Although I have 7-Zip, I have never created a *.gz archive before, so I
thought I'd give it a try. The first thing I learned is that I can't
create a *.gz archive directly from a collection of files. I first have
to create a *.tar archive, then process that into a *.tar.gz file. Don't
ask me why. I'm a *.zip kinda guy. I've only seen *.tar.gz files
secondhand, when I downloaded them and had to unpack them. I've never
seen the "gz" without the "tar." Anyway, having managed to create a
*.tar.gz archive, I repeated the process with a new collection of files
and overwrote my first archive with no problem. So I don't know why you
can't.

I am running Windows 7 Ultimate x64.
Your useage is correct. 7zip is a gui for some other programs. I've been
using it for years on windows.
tar: http://www.gnu.org/software/tar/manual/tar.html#SEC1
gzip: http://www.gnu.org/software/gzip/manual/gzip.html

To the OP: try running 7zip as administrator.
 
T

Tim Slattery

Dave \"Crash\" Dummy said:
Although I have 7-Zip, I have never created a *.gz archive before, so I
thought I'd give it a try. The first thing I learned is that I can't
create a *.gz archive directly from a collection of files. I first have
to create a *.tar archive, then process that into a *.tar.gz file. Don't
ask me why. I'm a *.zip kinda guy.
GZip has Unix roots, and this is the way things are done in the Unix
world. The tar program (tape archive) has existed forever. It strings
many files together into a single 'archive" file. That made it
convenient to dump a whole bunch of files to tape for backup. So then
if you compress a tar file, you get a whole bunch of files squeezed
into one large file. Not exactly like a zip file, IMHO not as
convenient, but something that Unix folks understand and are very
comfortable with.
 
R

R. C. White

?Hi, Tim.

Thanks for that explanation. I've always wondered where "tar" came from.
I've never used it, but I see it sometimes.

How about "rar" files? Is that a variation of "tar"?

The last tape I used with a computer was on my original TRS-80 back in 1977.
;^} And I've never used Unix or Linux or any other *nix . I've used PKZip
ever since I paid Phil Katz ($10?) for a perpetual license about 25 years
ago. But I haven't used any such compression files much in about 15 years.
Hardly seems worth doing on the humongous HDDs we use nowadays.

RC
--
R. C. White, CPA
San Marcos, TX
(e-mail address removed)
Microsoft Windows MVP (2002-9/30/10)
Windows Live Mail Version 2011 (Build 15.4.3502.0922) in Win7 Ultimate x64
SP1 beta


"Tim Slattery" wrote in message

Dave \"Crash\" Dummy said:
Although I have 7-Zip, I have never created a *.gz archive before, so I
thought I'd give it a try. The first thing I learned is that I can't
create a *.gz archive directly from a collection of files. I first have
to create a *.tar archive, then process that into a *.tar.gz file. Don't
ask me why. I'm a *.zip kinda guy.
GZip has Unix roots, and this is the way things are done in the Unix
world. The tar program (tape archive) has existed forever. It strings
many files together into a single 'archive" file. That made it
convenient to dump a whole bunch of files to tape for backup. So then
if you compress a tar file, you get a whole bunch of files squeezed
into one large file. Not exactly like a zip file, IMHO not as
convenient, but something that Unix folks understand and are very
comfortable with.
 
T

Tim Slattery

R. C. White said:
?Hi, Tim.

Thanks for that explanation. I've always wondered where "tar" came from.
I've never used it, but I see it sometimes.

How about "rar" files? Is that a variation of "tar"?
According to Wikipedia (http://en.wikipedia.org/wiki/RAR). RAR stands
for Roshal ARchive. It was originally developed by somebody named
Eugene Roshal.
 
G

Gene E. Bloch

?Hi, Tim.

Thanks for that explanation. I've always wondered where "tar" came from.
I've never used it, but I see it sometimes.

How about "rar" files? Is that a variation of "tar"?

The last tape I used with a computer was on my original TRS-80 back in 1977.
;^} And I've never used Unix or Linux or any other *nix . I've used PKZip
ever since I paid Phil Katz ($10?) for a perpetual license about 25 years
ago. But I haven't used any such compression files much in about 15 years.
Hardly seems worth doing on the humongous HDDs we use nowadays.
I have two uses for zipping. One is actually unzipping, such as when
someone sends me a zip or I download an application that is sent in zip
form, or other similar things (like source code for a book on Java or
some such).

The other is when I put a handful of files (sharing photos with friends,
for instance) on a free site that only lets me upload one file.

I don't even make encrypted zips anymore, I just use TrueCrypt :)

<SNIP>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top