Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

warning "name in zip file repeated"

Posted on 2004-07-31
9
Medium Priority
?
1,223 Views
Last Modified: 2008-02-01
I have 04 foders that I want to zip into one folder
example:
wzzip  c:\backup\07302004\ClsTucUs07302004.zip  c:\backup\07302004\clsinc07302004  c:\backup\07302004\clsshare07302004  c:\backup\07302004\tuc07302004  c:\backup\07302004\users07302004

when I run this batch file the following error shows up:
warning "name in zip file repeated"

warninig " First Full name: c:\backup\07302004\clsshare07302004\cls.dbf"
warninig " Second  Full name: c:\backup\07302004\clsinc07302004\cls.dbf"

So, is there anyway to add a switch either to overwrite or ignore the cls.dbf file ???

Any help?

Thanks
0
Comment
Question by:Chuckbuchan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
9 Comments
 
LVL 1

Expert Comment

by:samishra
ID: 11686232
Instead of the above command try using the -p option, like this :

wzzip -p c:\backup\07302004\ClsTucUs07302004.zip  c:\backup\07302004\clsinc07302004  c:\backup\07302004\clsshare07302004  c:\backup\07302004\tuc07302004  c:\backup\07302004\users07302004

There is a difference in the case of the options. You should use the small p. There are more options that you can use like recursing subfolders, try -r

You can get a list of all these option in the wzzip help file. try the command wzzip /?

Hope I have been of some help.
0
 
LVL 5

Expert Comment

by:Blue_Rishi
ID: 11686333
I agree with samishra about recursing subdirs...

Don't use this program but all archive utils work more or less the same (commmand-line wise anyway). There should be an option to ignore all errors, assume 'y' on all questions (use if asked to continue after error), or even for overwriting existing files (although normally only in combination with the update/freshen archive switch).
The best way would be to use the recurse subdirs. This will save the directory structure of the folders below the one you want to backup. Remember: in windows you would'nt be able to use the same filename twice in one folder either!

hope this helps,

BR
0
 

Author Comment

by:Chuckbuchan
ID: 11686361
None of the switches above have solved the problem.
0
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
LVL 1

Accepted Solution

by:
samishra earned 2000 total points
ID: 11689118
It shopuld have worked. Anyways, you can try combining it with the r option as in

wzzip -rp c:\backup\07302004\ClsTucUs07302004.zip  c:\backup\07302004\clsinc07302004  c:\backup\07302004\clsshare07302004  c:\backup\07302004\tuc07302004  c:\backup\07302004\users07302004

Hope I have been of some help.
0
 
LVL 1

Expert Comment

by:samishra
ID: 11897491
I do have objections. Why has the Delete request been made? I think we have provided valid responses which have surely helped the user. Or he would (and should) have posted otherwise. I think I should be awarded points.

Hope I was not too rude.. :-)
0
 
LVL 1

Expert Comment

by:samishra
ID: 11897685
Thank you, CetusMOD
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question