Issue: Unzipping file containing files/folders with a similar name

 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions Issue: Unzipping file containing files/folders with a similar name
# 1  
Old 02-21-2013
Issue: Unzipping file containing files/folders with a similar name

Hi,

I have a zip file created on a Linxux server that I need to extract on a Windows machine...

The zip file containing folders with the same name but they each have a different case, one if camel case and the other is just capitalised. When I extract using 7zip, I get prompted if I want to replace the file even though the folders are not named the same (case difference). Does anyone how to resolve this?

For example:

Code:
/home/myuser/SomeFolder/fileA
/home/myuser/Somefolder/fileA

I expect both files to be extracted but I am being prompted to replace the first!!! Is there a program I can install on Windows which will get me past this? SmilieSmilie
# 2  
Old 02-21-2013
If zip honors case, you should be able to extract only the second directory by specific path in a different head directory, then rename it to a new name in the right directory.
# 3  
Old 02-21-2013
Quote:
Originally Posted by muay_tb
Is there a program I can install on Windows which will get me past this? SmilieSmilie
Windows file and folder names are case-insensitive.

There is no program to install to fix this fundamental operating system limitation.

You might be able to extract only one, or the other, as DGPickett suggests.
# 4  
Old 07-06-2013
Like they said you will have to extract one at a time to different locations.
  1. -Open the Zip file in Windows Explorer. Not in 7Zip
  2. -Right Click on the folder you want to copy
  3. -COPY
  4. -Go to location you want the folder Right Click PASTE
  5. -Do the same for the other folder, but paste it to a different directory.

If you want to have the folders in the same directory, you need to rename one of them.
Ex.
Code:
C:\newfolder\SomeFolder\fileA
C:\newfolder\Somefolder2\fileA

(im surprised Windows reads that Zip file)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to copy files/folders and show the files/folders?

Hi, So i know we use cp -r as a basic to copy folders/files. I would like this BUT i would like to show the output of the files being copied. With the amazing knowledge i have i have gone as far as this: 1) find source/* -exec cp -r {} target/ \; 2) for ObjectToBeCopied in `find... (6 Replies)
Discussion started by: Imre
6 Replies

2. Shell Programming and Scripting

Comparing two files in UNIX and create a new file similar to equi join

I have 2 files namely branch.txt file & RXD.txt file as below Ex:Branch.txt ========================= B1,Branchname1,city,country B2,Branchname2,city,country B3,Branchname3,city,country B4,Branchname4,city,country B5,Branchname5,city,country RXD file : will... (11 Replies)
Discussion started by: satece
11 Replies

3. Shell Programming and Scripting

Copying files from various folders to similar folder structure in another location

Hi, I need to write a script the has to copy the files from folders and subfolders to the same folder structure located in another location. Ex: mainfolder1 file1,file2,file3 subfolder1(file1,etc) subfolder2(file1,etc) to another folder location of same folder structure. rsync is not... (7 Replies)
Discussion started by: Raji Perumal
7 Replies

4. UNIX for Dummies Questions & Answers

Unzipping a file which has multiple folders and each folder has the files with same name in it

Hi, I have a zipped file a.zip. This has got multiple folders in it say x and y. x contains a.txt and y contains a.txt. Is it possible to unzip this file and have the 2 files extracted and rename them to unique names. Thanks in advance. (1 Reply)
Discussion started by: arunkesi
1 Replies

5. Shell Programming and Scripting

Finding a text file from a group of zip files without unzipping

HI , There are more than 100 zip files in a directory and i wanted to see if there is a max1157.txt file in any of the zip files without actually unzipping them. Could you please help. Thanks in Advance. Karthik. (6 Replies)
Discussion started by: karthikk0508
6 Replies

6. UNIX for Dummies Questions & Answers

view gzipped files with name file.gz.$DATE on a Solaris box (without unzipping first)

Hi Howto view gzipped files with name file.gz.$DATE on a Solaris box (without unzipping first) $ ls -lrt total 4477 -rwxrwxr-x 1 oracle dba 569745 Apr 4 19:45 4_person2profileCon.txt.gz.04.04.11* -rwxrwxr-x 1 oracle dba 3783 Apr 4 19:45... (4 Replies)
Discussion started by: slashdotweenie
4 Replies

7. Shell Programming and Scripting

Help with parsing mailbox folder list (identify similar folders)

List sample: user/xxx/Archives/2010 user/xxx/BLARG user/xxx/BlArG user/xxx/Burton user/xxx/DAY user/yyy/Trainees/Nutrition interns user/yyy/Trainees/Primary Care user/yyy/Trainees/Psychiatric NP interns user/yyy/Trainees/Psychiatric residents user/yyy/Trainees/Psychology... (4 Replies)
Discussion started by: spacegoose
4 Replies

8. AIX

unzipping _client.cpio.gz issue

Hi, FYI I've this AIX6.1 machine that I'm telnet to using Putty. I have this oracle client file which is 1G+ that took me several hours to transfer. I was trying to unzip 10gr2_aix5l64_client.cpio.gz. # gunzip 10gr2_aix5l64_client.cpio.gz /usr/app/oracle gunzip: /usr/app/oracle is a... (6 Replies)
Discussion started by: pilotHans
6 Replies

9. Shell Programming and Scripting

Unzipping a file in Solaris - Issue with xls file

Hi, I have an excel file generated by system in windows. I am zipping it, transfering to unix and unzipping there. But i'm getting below output while unzipping. $ /usr/bin/unzip -a 123.zip -d . Archive: 123.zip inflating: ./123/Index.xls When i copy this unzipped xls file to... (0 Replies)
Discussion started by: ajaykumarb
0 Replies

10. Shell Programming and Scripting

parsing file names and then grouping similar files

Hello Friends, I have .tar files which exists under different directories after the below code is run: find . -name "*" -type f -print | grep .tar > tmp.txt cat tmp.txt ./dir1/subdir1/subdir2/database-db1_28112009.tar ./dir2/subdir3/database-db2_28112009.tar... (2 Replies)
Discussion started by: EAGL€
2 Replies
Login or Register to Ask a Question