06-16-2009
refer man pages of zip and unzip
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
what's the best command to zip up the whole unix directory, then ftp this to windows for viewing the directories/files.
thank you (1 Reply)
Discussion started by: venhart
1 Replies
2. Shell Programming and Scripting
I have two files in a directory:
xxxx.txt
xxxx.csv
I need to zip both files up but the command I am doing below is only zipping xxx.txt file????:
cd ../$CUSTOMER_DIRECTORY
zip -q ${name}${FILE_OUT_NAME}.zip ls -lrt *.csv *.txt
can anyone help?:confused: (3 Replies)
Discussion started by: Pablo_beezo
3 Replies
3. Shell Programming and Scripting
Hi All,
I need to tar the entire directory except one directory inside that.
I have used the below command
tar -cvfX test.tar bin/perl bin/
I need to tar all the directories inside the bindirectory except the perl directory
Please help me in solving this :b:
Regards,
Kalai (4 Replies)
Discussion started by: kalpeer
4 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Im facing a problem that im stucked,
I have the following structure:
thales@pereirtc-vbox:/home/VfARM$ ls
code config doc lib manifest.bak manifest.rel manifest.v3 ns pub
if i try to execute zip -q -o arm.zip VfARM/* it will create a zip file with the folder VfARM.... (2 Replies)
Discussion started by: Thales.Claro
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
need to zip all files in a directory and move to another directory after the zip..
i am using this one but didnt help me...
zip -r my_proj_`date +%Y%m%d%H%MS`.zip /path/my_proj
mv in_proj_`date +%Y%m%d%H%M%S`.zip /path/source/
i am trying to zip all the files in my_proj... (0 Replies)
Discussion started by: dssyadav
0 Replies
6. AIX
I am trying to restore a specific directory and all sub-directories therein using a rootvg tape. I am using the following command to make the backup:
mksysb -m -i -v /dev/rmt0
However, I am getting the following result:
tctl status
rmt0 Available 04-08-00-0,0 LVD SCSI 4mm Tape Drive... (10 Replies)
Discussion started by: herot
10 Replies
7. Shell Programming and Scripting
Hello,
I`m a complete newbie to coding, please help with this problem.
I have multiple files in a directory, I have to loop through the contents of each file and extract number of unique isoforms in that file. Each file is tab delimited and only the line with the first parent (column 3)... (1 Reply)
Discussion started by: ritakadm
1 Replies
8. Shell Programming and Scripting
Hi
I was trying to zip some file in a directory using the below command.
find /dir1/dir2/ -name "asdf*.txt" -print | zip -m /dir1/dir2/dir3/asd_Date.zip -@
Its getting zipped.But when I am trying to unzip,
Its getting unzipped with full directory structure.
Is there any command... (1 Reply)
Discussion started by: ginrkf
1 Replies
9. UNIX for Dummies Questions & Answers
I am looking to write a script that will read the php.ini files on my web host. If the two lines do exist do nothing. If not append two lines to the end of it then move on to the next directory and open the next php.ini file.
I have the beginning of one that was given to me on another web site but... (6 Replies)
Discussion started by: Larrykh465
6 Replies
10. UNIX for Beginners Questions & Answers
How to get a file 'zlib.h' in an entire directory with an excluded directory specified lives under that starting directory by using find command, as it failed on:
$ find . -name 'zlib.h' -a -ipath 'CHROME.TMP' -prune -o -print
it'll just list entirely up (2 Replies)
Discussion started by: abdulbadii
2 Replies
LEARN ABOUT DEBIAN
zip2st
ZIP2ST(1) Hatari utilities ZIP2ST(1)
NAME
zip2st - a program for converting .zip archives to Atari .st disk images
SYNOPSIS
zip2st srcname.zip [dstname.st]
DESCRIPTION
zip2st can be used to convert a .zip file to a .st disk image.
If the destination filename is not given, use the name of the .zip file, without the extension, and save it in the current working direc-
tory.
Any single directories (other than 'auto') at root of the zip archive are traversed down to avoid adding redundant intermediate directories
from the zip file to the generated disk image.
The .st disk image is a raw disk image, and can be written to a floppy using dd(1) or converted to .msa disk image with hmsa(1).
The contents of the uncompressed zip file need to be smaller than 2.88MB (the largest floppy image size supported by Hatari).
SEE ALSO
hmsa(1), atari-hd-image(1), hatari(1), unzip(1), mtools(1), dd(1).
AUTHOR
Written by Thomas Huth <huth at tuxfamily.org>.
This manual page was written by Teemu Hukkanen <tjhukkan at iki.fi> for the Debian project and later modified by Eero Tamminen to suit the
latest version of Hatari.
LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
NO WARRANTY
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Hatari 2012-05-30 ZIP2ST(1)