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:-
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
Thank you for help , but i'm still find how to unzip into own folder.
OS window 7 , shell kornshell
i'm using the find command , it able to list out all file, but i'm unable to make it to the unzip in the original sub folder, it extract all out at the folder i'm start.
i'm been find the unzip command with -d able to make it work , but i'm not sure how to list it.
i'm want try to make every line become like this
below are the example only
yup if possible i want to remove it , but for current state i'm need make sure everything ok only go for that step.
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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT SUSE
rmf
RMF(1) [nmh-1.5] RMF(1)NAME
rmf - remove an nmh folder
SYNOPSIS
rmf [+folder] [-interactive | -nointeractive] [-version] [-help]
DESCRIPTION
Rmf removes all of the messages (files) within the specified (or default) folder, and then removes the folder (directory) itself.
If there are any files within the folder which are not a part of nmh, they will not be removed, and an error will be produced. If the
folder is given explicitly or the -nointeractive option is given, then the folder will be removed without confirmation. Otherwise, the
user will be asked for confirmation. If rmf can't find the current folder, for some reason, the folder to be removed defaults to `+inbox'
(unless overridden by user's profile entry "Inbox") with confirmation.
If the folder being removed is a subfolder, the parent folder will become the new current folder, and rmf will produce a message telling
the user this has happened. This provides an easy mechanism for selecting a set of messages, operating on the list, then removing the list
and returning to the current folder from which the list was extracted.
If rmf s used on a read-only folder, it will delete all the (private) sequences (i.e., "atr-seq-folder" entries) for this folder from your
context without affecting the folder itself.
Rmf irreversibly deletes messages that don't have other links, so use it with caution.
FILES
$HOME/.mh_profile The user profile
PROFILE COMPONENTS
Path: To determine the user's nmh directory
Current-Folder: To find the default current folder
Inbox: To find the default inbox
SEE ALSO rmm(1)DEFAULTS
`+folder' defaults to the current folder, usually with confirmation
`-interactive' if +folder' not given, `-nointeractive' otherwise
CONTEXT
Rmf will set the current folder to the parent folder if a subfolder is removed; or if the current folder is removed, it will make "inbox"
current. Otherwise, it doesn't change the current folder or message.
BUGS
Although intuitively one would suspect that rmf works recursively, it does not. Hence if you have a sub-folder within a folder, in order
to rmf the parent, you must first rmf each of the children.
MH.6.8 11 June 2012 RMF(1)