Sponsored Content
Special Forums Windows & DOS: Issues & Discussions Looking for help unzip multiple file Post 303010175 by rbatte1 on Thursday 28th of December 2017 04:42:15 AM
Old 12-28-2017
You might consider the find command. It will descend a directory tree trying to find matches. if you don't want it to cross into any sub-mounted filesystems or follow symbolic links then there are flags to deal with that.

As a starter for 10, try something like:-
Code:
cd /path/to/main/folder
find . -xdev -type f -name "*.zip"

What is your OS & shell? There seems to be one post using / and one using \ The output (in CODE tags) from uname -a;ps would be very useful.

If every single file has been zipped and you are confident of the unzip process, you could even extend the find to run that on each file it finds, however you have to be sure it is what you want, so copy a small part away and test it elsewhere first. Just focus on working with a single zip file first. What command do you have for unzipping one of these? Does it remove the zip file afterwards? Is that is what you want?



Kind regards,
Robin
 

10 More Discussions You Might Find Interesting

1. HP-UX

How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX). I don't have unzip cmd available in my curent Unix version Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file . Please elaborate on the commands aval and... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

2. UNIX for Dummies Questions & Answers

How to unzip multiple files (encrypted) in a directory.

Good day all. I want to unzip multiple files in a directory. Suppose there are two files: test.txt.zip and test1.txt.zip Using this command: unzip -o -P test*.zip results in the unzipping of the first file not second. It gives this error: Archive: test.txt.zip caution: filename not... (2 Replies)
Discussion started by: er_ashu
2 Replies

3. Shell Programming and Scripting

How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX). I don't have unzip cmd available in my curent Unix version Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file . Please elaborate on the commands aval and... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

4. Shell Programming and Scripting

How to unzip the file

Hi, I have a file in the form of .zip in unix directory, now I want to unzip the file in unix environment. May I know how to unzip this file File name: cust.zip Thanks in Advance... Aswice (1 Reply)
Discussion started by: aswice
1 Replies

5. UNIX for Advanced & Expert Users

How can i unzip .gz extension file?

I have pulled a .gz file from UNIX to window. Is there way to unzip UNIX based file on window? Thanks advance. (9 Replies)
Discussion started by: J_ang
9 Replies

6. Shell Programming and Scripting

How to Unzip a file using unzip utility for files zipped without zip utility ?

Hi, I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server. How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies

7. UNIX for Dummies Questions & Answers

unzip single file in zip file to STDOUT

Hi, Does anyone know if there is an unzip command similar to tar -xOf $tarBall $fileInTarFile which will untar a single file in a tar ball to STDOUT ? I want to do the same but with a .zip (ZIP archive) file. - Andy ---------- Post updated at 05:56 PM ---------- Previous update... (0 Replies)
Discussion started by: andyatit
0 Replies

8. Shell Programming and Scripting

Unzip the .zip file without using unzip utility in UNIX

I have .zip file, i want to list all the files archived in the zip file. unzip utility is not working for me in unix. Please help me resolve this issue Thanks ganesh. (3 Replies)
Discussion started by: Ganesh L
3 Replies

9. Shell Programming and Scripting

Unzip Multiple zip files and Strip directory

I receive multiple zipped directories with files in them, so the .zip name is the name of the directory containing the files. so i have used a simple loop to unzip all of them but when unzipped i have folders/directories, i wanted to strip these directories and remain with the actual files from... (1 Reply)
Discussion started by: buggzdiq
1 Replies

10. Shell Programming and Scripting

Unzip a gz file

Please tell me the unix command how to unzip a gz file(say a qwe.gz) and the orginal gz file should remain intact. Thanks in advance (7 Replies)
Discussion started by: pranabpal
7 Replies
vfs-filesystems(n)														vfs-filesystems(n)

__________________________________________________________________________________________________________________________________________________

NAME
vfs-filesystems - Filesystems provided by tclvfs SYNOPSIS
package require Tcl 8.4 package require vfs ?1.2.1? package require vfs::zip ?1.0? package require vfs::mk4 ?1.6? package require vfs::tar ?0.9? package require vfs::ftp ?1.0? package require vfs::ns ?1.0? package require vfs::webdav ?0.1? package require vfs::http ?0.5? package require vfs::urltype ?1.0? vfs::zip::Mount path to vfs::mk4::Mount path to vfs::tar::Mount path to vfs::ftp::Mount path to vfs::ns::Mount path to vfs::webdav::Mount path to vfs::http::Mount path to vfs::urltype::Mount path to _________________________________________________________________ DESCRIPTION
The package vfs provides not only the means to implement a virtual filesystem at the tcl level, but also a number of ready to be used filesystems as well. Each of these filesystem exists as its own package, and can be accessed through package require vfs::NAME. The whole set of these virtual filesystems is known informally as 'vfslib'. SUPPORTED VFS TYPES
Currently supported are ftp, tar, http, zip, mk4, ns, and webdav. In addition there is the ability to mount any 'urltype' as a new direc- tory, provided an appropriate vfs is supported. This means that you can treat urls based on the schemes ftp://, http:// and file:// as files. To do this, simply evaluate the command vfs::urltype::Mount ftp for example. Any access inside the new volume will result in an attempt to require a package through package require vfs::${type}, which must therefore exist, or errors will be thrown. If a filesystem is loaded, use the associated command listed below to mount a source for that filesystem as a tcl directory. vfs::zip::Mount path to Mount the zip file path as directory to. vfs::mk4::Mount path to Mount the metakit database file file path as directory to. vfs::tar::Mount path to Mount the tar file path as directory to. vfs::ftp::Mount path to Mount the ftp url path as directory to. vfs::ns::Mount path to Mount the tcl namespace path as directory to. vfs::webdav::Mount path to Mount the webdav url path as directory to. vfs::http::Mount path to Mount the http url path as directory to. vfs::urltype::Mount path to Mount the url path, of type urltype as directory to. LIMITATIONS
Most of the vfs types listed above have not been very well debugged as yet. Please test them! SEE ALSO
vfs, vfs-fsapi KEYWORDS
file, filesystem, ftp, http, metakit, namespace, tar, vfs, vfslib, webdav, zip COPYRIGHT
Copyright (c) 2001-2003 Vince Darley <vincentdarley@users.sourceforge.net> Copyright (c) 2003 Andreas Kupries <andreas_kupries@users.sourceforge.net> Tcl-level Virtual Filesystems 1.0 vfs-filesystems(n)
All times are GMT -4. The time now is 07:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy