Sponsored Content
Full Discussion: splitting a zip file
Top Forums UNIX for Dummies Questions & Answers splitting a zip file Post 302345814 by McGuywer on Thursday 20th of August 2009 09:40:31 AM
Old 08-20-2009
Thanx, that's a handy command.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

unzip .zip file and list the files included in the .zip archive

Hello, I am trying to return the name of the resulting file from a .zip archive file using unix unzip command. unzip c07212007.cef7081.zip Archive: c07212007.cef7081.zip SecureZIP for z/OS by PKWARE inflating: CEP/CEM7080/PPVBILL/PASS/G0063V00 I used the following command to unzip in... (5 Replies)
Discussion started by: oracledev
5 Replies

2. AIX

ZIP multiple files and also specify size of zip file

I have to zip many pdf files and the size of zip file must not exceed 200 MB. When size is more than 200 MB then multiple zip files needs to be created. How we can achieve this in UNIX? I have tried ZIP utility but it takes a lot of time when we add individual pdfs by looping through a... (1 Reply)
Discussion started by: tom007
1 Replies

3. UNIX for Dummies Questions & Answers

Zip a file with .zip extension.

Hi, I need to zip a .dat file with .zip extension. I tried using the "zip" command. But shell says. "ksh: zip: not found" Currently I am using gunzip to zip and changing the extension ".gz" to ".zip" as follows. mv $file `echo $file | sed 's/\(.*\.\)gz/\1zip/'` But when I tried... (1 Reply)
Discussion started by: aeroticman
1 Replies

4. UNIX for Advanced & Expert Users

Zip file inside Zip file(s)

I've a zip file called Z00.zip and in that file there are 22 more zip files. Each zip file having .txt files nearly 10,000 files. I am trying to unzip all these .txt files in one command line to unzip each .zip file from Z00.zip file. Would like to know whether possible to unzip all sub-zip files... (1 Reply)
Discussion started by: nvkuriseti
1 Replies

5. Shell Programming and Scripting

Zip Multiple files to One .zip file in AIX system

Hi I have a requirement in unix shell where I need to zip multiple files on server to one single .zip file. I dont see zip command in AIX and gzip command not doing completely what I want. One I do .zip file, I should be able to unzip in my local Computer. Here is example what I want... (9 Replies)
Discussion started by: RAMA PULI
9 Replies

6. Shell Programming and Scripting

Splitting XML file on basis of line number into multiple file

Hi All, I have more than half million lines of XML file , wanted to split in four files in a such a way that top 7 lines should be present in each file on top and bottom line of should be present in each file at bottom. from the 8th line actual record starts and each record contains 15 lines... (14 Replies)
Discussion started by: ajju
14 Replies

7. Shell Programming and Scripting

Shell script to filter records in a zip file that contains matching columns from another file

Not sure if this is the correct forum for this question. I have two files. file1.zip, file2 Input: file1.zip col1, col2 , col3 a , b , 0:0:0:0:0:c436:9346:d40b x, y, 0:0:0:0:0:880:39f9:c9a7 m, n , 0:0:0:0:0:80c7:9161:fe00 file2.txt col1 c4:36:93:46:d4:0b... (1 Reply)
Discussion started by: anil.v
1 Replies

8. UNIX for Beginners Questions & Answers

How can we Zip multiple files created on the same date into one single zip file.?

Hi all i am very new to shell scripting and need some help from you to learn 1)i have some log files that gets generated on daily basis example: i have abc_2017_01_30_1.log ,2017_01_30_2.log like wise so i want to zip this 4 logs which are created on same date into one zip folder. 2)Post zipping... (2 Replies)
Discussion started by: b.saipriyanka
2 Replies

9. Shell Programming and Scripting

How can we Zip multiple files created on the same date into one single zip file.?

Hi all i am very new to shell scripting and need some help from you to learn 1)i have some log files that gets generated on daily basis example: i have abc_2017_01_30_1.log ,2017_01_30_2.log like wise so i want to zip this 4 logs which are created on same date into one zip folder. 2)Post zipping... (1 Reply)
Discussion started by: b.saipriyanka
1 Replies

10. Shell Programming and Scripting

Splitting a text file into smaller files with awk, how to create a different name for each new file

Hello, I have some large text files that look like, putrescine Mrv1583 01041713302D 6 5 0 0 0 0 999 V2000 2.0928 -0.2063 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0 5.6650 0.2063 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0 3.5217 ... (3 Replies)
Discussion started by: LMHmedchem
3 Replies
GAUCHE-INSTALL(1)						  Gauche Commands						 GAUCHE-INSTALL(1)

NAME
gauche-install - install files and set attributes SYNOPSIS
1)* gauche-install [OPTION...] FILE DEST 2)* gauche-install [OPTION...] FILE... DIRECTORY 3)* gauche-install -d [OPTION...] DIRECTORY... 4) gauche-install -T DIRECTORY [OPTION...] FILE... 5) gauche-install -U DIRECTORY [OPTION...] FILE... DESCRIPTION
gauche-install is a program to install and remove files. On installation it allows to set ownership and permissions. This command is upward compatible with BSD install(1) and can be used as a drop-in replacement of it. Notably, 1st, 2nd and 3rd command-line format above are compatible with BSD install. This command is provided mainly for Gauche's extension packages to have simpler installation and configuration process. Being certain that gauche-install is available, those packages don't need to worry about subtle differences between various install(1) commands. The first format copies FILE on the file or in the directory named by DEST. The second format copies FILE ... into the directory DIRECTORY. The third format ensures DIRECTORY exists. If it doesn't, the command creates the path to the DIRECTORY , including any intermediate ones. The fourth format installing FILE ... to the DIRECTORY. It is more convenient than the first and second formats in the following regards: * If the destination directory does not exist, it is created (with any intermediate paths as needed). * The list of files can be empty, so that when the list of installed files can be generated by configuration, you don't need to handle the empty case specially in Makefile. (With BSD install format, empty file list yields an error.) * The directory prefix of files are preserved within the destination directory. This is handy to install subtree of files. For example, the following command installs '/usr/share/foo/main', '/usr/share/foo/conf/x' and '/usr/share/foo/conf/y' with a single command. gauche-install -T /usr/share/foo main conf/x conf/y Giving -p option suppresses this behavior and strips any directory prefix like the second format. The following command line installs '/usr/share/foo/main', '/usr/share/foo/x' and '/usr/share/foo/y'. gauche-install -T /usr/share/foo -p main conf/x conf/y The fifth format removes FILE ... in the DIRECTORY. Irrelevant options are ignored, so it is handy to uninstall files just by chaning -T in the fourth format to -U. OPTIONS
-C, --canonical-suffix This is used specially to install Gauche's autogenerated Scheme source by experimental precompilation. The generated file has a *.sci. Upon installation, this command replaces the suffix for *.scm. -d, --directory Creates directories. (3rd format only). It is only for the compatibility. Using the -T option, the destination directories are created automatically if missing. -g, --group=GROUP Change group of the installed file. -h, --help Show summary of options. -m, --mode=MODE Change mode of the installed file. -n, --dry-run Just prints what actions to be done. -o, --owner=OWNER Change owner of the installed file. -p, --strip-prefix=PREFIX Strip PREFIX directories from FILE(s) before installation. (4th/5th format only). --shebang=PATH Adds #!PATH before the file contents. Useful to install scripts. -S, --srcdir=directory Look for files within directory; useful if VPATH is used in Makefiles. -T, --target=directory Installs files to the directory, creating paths if needed. Partial path of files are preserved unless -p option is given. (4th format only) -U, --uninstall=directory Reverse of -T, e.g. removes files from its destination. Other options (except -h and -n) are ignored. -v, --verbose Work verbosely. DIAGNOSTICS
gauche-install exits with status 0 on success. SEE ALSO
gauche-package(1), install(1) The program will be documented fully by the Gauche Developers' Reference available via the info(1) system. AUTHORS
Shiro Kawai <shiro@acm.org> Author. Jens Thiele <karme@karme.de> Wrote this manpage for the Debian system. COPYRIGHT
Copyright (C) 2010 Jens Thiele Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty. Gauche 0.9.1 GAUCHE-INSTALL(1)
All times are GMT -4. The time now is 02:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy