01-29-2009
U mean to say Like this ?
1.cpio -idv Linux9i_Disk1.cpio
2.cpio -idv Linux9i_Disk2.cpio
3.cpio -idv Linux9i_Disk3.cpio
Please confirm the same.
Regards,
Balaji
10 More Discussions You Might Find Interesting
1. AIX
Hi,
Currently a backup script copies compressed files to tape using cpio command (on AIX 5.2). Recently we've had a compressed file which has gone over 2 GB in size resulting in an error while copying this file onto the tape using cpio.
Any suggestions on relevant workarounds would be much... (0 Replies)
Discussion started by: dnicky
0 Replies
2. Shell Programming and Scripting
Hi,
Currently a backup script copies compressed files to tape using cpio command (on AIX 5.2). Recently we've had a compressed file which has gone over 2 GB in size resulting in an error while copying this file onto the tape using cpio.
Any suggestions on relevant workarounds would be much... (2 Replies)
Discussion started by: dnicky
2 Replies
3. HP-UX
what are cpio.cat.z files??? Can I delete them??? (3 Replies)
Discussion started by: ldaliosmane
3 Replies
4. Shell Programming and Scripting
i have about 30 .EAR files, every ear file have 1 .JAR file.
so i need to extract .EAR files then extract .JAR files, and one important thing is that every archive must bee extracted to separate folder.
i try with gzip, but when i extract 30 ear files i cant make separate folders.... (1 Reply)
Discussion started by: waso
1 Replies
5. Shell Programming and Scripting
Say you don't want to unpack the whole thing, just individual files or directories within a .tgz. How to do this? (1 Reply)
Discussion started by: stevensw
1 Replies
6. HP-UX
So I ran into a strange problem the other day when using cpio. I'm not really sure this needed to be in an HPUX specific forum, but wasn't sure where else to put it. I'm running HPUX 11.11 PARISC.
I was using cpio to copy a directory and its entire contents from one server, we'll call it... (7 Replies)
Discussion started by: paqman
7 Replies
7. UNIX for Advanced & Expert Users
Good morning,
I have a file that is 200 MB and I want to compress it to the fullest, which is the best method or command to compress files in aix?
Thank you very much and best regards. (8 Replies)
Discussion started by: systemoper
8 Replies
8. Shell Programming and Scripting
Hi,
I have a problem with unzipping some file.xml.bz2 files to file.xml using while loop.
all other processing on files is successfull except bunzip2.
here is my piece of code
while read i
do
bunzip2 $i
done<file.lst;
output
: No such file or directory.le... (14 Replies)
Discussion started by: maroom
14 Replies
9. Shell Programming and Scripting
I need a hint for reading manpage (I did rtfm really) of cpio to do this task as in the headline described. I want to put all files of a certain type, lets say all *.txt files or any other format. Spread in more than hundreds of subdirectories in one directory I would like to select them and just... (3 Replies)
Discussion started by: 1in10
3 Replies
10. UNIX for Advanced & Expert Users
Due to budget constraints I have to reinvent an Enterprise backup system in a SPARC (sun4v) Solaris estate (10 & 11). (yep - reinvent wheel, fun but time consuming. Is this wise?! :confused: )
For each filesystem of interest, to try to capture a 'catalog' at the front of each cpio archive (for... (1 Reply)
Discussion started by: am115998
1 Replies
cpio(5) File Formats Manual cpio(5)
Name
cpio - format of cpio archive
Description
The header structure, when the option of is not used, is:
struct {
short h_magic,
h_dev;
ushort h_ino,
h_mode,
h_uid,
h_gid;
short h_nlink,
h_rdev
h_mtime[2],
h_namesize,
h_filesize[2]'
char h_name[h_namesize rounded to word];
} Hdr;
When the option is used, the header information is described by:
sscanf(Chdr,"%6o%6o%6o%6o%6o%6o%6o%6o%11lo%6o%11lo%s",
&Hdr.h_magic, &Hdr.h_dev, &Hdr.h_ino, &Hdr.h_mode,
&Hdr.h_uid, &Hdr.h_gid, &Hdr.h_nlink, &Hdr.h_rdev,
&Longtime, &Hdr.h_namesize,&Longfile,Hdr.h_name);
The Longtime and Longfile are equivalent to Hdr.h_mtime and Hdr.h_filesize, respectively. The contents of each file are recorded in an
element of the array of varying length structures, archive, together with other items describing the file. Every instance of h_magic con-
tains the constant 070707 (octal). The items h_dev through h_mtime have meanings explained in The length of the null-terminated path name
h_name, including the null byte, is given by h_namesize.
The last record of the archive always contains the name Special files, directories, and the trailer are recorded with h_filesize equal to
zero.
See Also
cpio(1), find(1), stat(2)
cpio(5)