Hello,
What is the appropriate command to zip a folder that contain sub folder
and files? Example:
Folder lunaa
In the folder there are a number of folder e.g 01526, etc...which
contains number of file.
Any idea would be grateful.
Many thanks (1 Reply)
Hi All,
I have the following requirement.
Source file Products_Extract.dat contains <CTRL M > characters and hence is in DOS format.
I zip this file using zip command in UNIX BOX as follows:
find . -name Products_Extract.dat|zip Target.zip -@
Next I ftp (in Binary MODE) this output zip... (3 Replies)
Hi guys,
I have a question about the zip command. Right now I have a directory with some files and folders on it that I want to compress. When I run the zip command:
zip foo -r
I am getting a foo.zip file that once I unzip it contains a foo folder. I want to create the foo.zip, but that... (1 Reply)
Hi friends
I am working in cygwin. Currently I am in root directory(C). I want to zip only the files from a diretory "A" to a new directory 1.zip in root directory C.
I am using the following command:
$: zip 1.zip A/*
but it is zipping the entire directory itself, But what I want is when... (4 Replies)
Hello,
I have some troubles with script that creates a zip archive.
First I added following command:
zip -r /path/to/folder/packed_file.zip /another/path/folder_for_packing
But there is a problem: how to zip the folder without adding full path inside the archive?
'folder_for_backing'... (3 Replies)
If there were 3 files put in a folder on /Desktop/Test then transferred to a site.
would
gzip -r /Desktop/Test zip them so that
wget --http-user cmccabe --http -passwd xxxx*** https://something.sharefile.com/login.aspx -O - | tar -zxf - could be used to connect to the site, login,... (6 Replies)
HI Guys,
I using below command to zip data but in zip file i have entire path of source.
zip $HOME/EM/ZIPData/All.tar.gz /vr/rt/on/mg/set/XM/Swor/xt/0300*.*
In Zip file i have entire path vr/rt/on/mg/set/XM/Swor/xt/
I just want file data zip in may target location (2 Replies)
Discussion started by: pareshkp
2 Replies
LEARN ABOUT HPUX
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)