Solved

warning "name in zip file repeated"

Posted on 2004-07-31
9
1,143 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
  • 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 1

Accepted Solution

by:
samishra earned 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
extend vlan through a layer 3 connection 31 91
Tagging ports on a managed switch 6 50
Radius Debug Error 16 49
Vlan to Vlan communication 9 78
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

911 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now