07-25-2008
Brilliant, that was it. I was missing the <. Excellent. Thank you very much!
David
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
by mistake I deleted all the files in
/usr2/symix/users/wfpsys/tpsc/ directory.
full backup has taken yesterday using "CPIO" command and I am able to view the files from tape also using cpio command.
but i couldn't able to restore back the files. Can you please help me immeditely by giving the... (2 Replies)
Discussion started by: wipro fluid power
2 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
Please help me with the extraction of files from a cpio.
what I mean is basically I have received a file from someone i.e
rooh.cpio.
this file rooh.cpio contains various files in it.
I want to know how I can extract the files and copy them to a different directory .
Your quick... (2 Replies)
Discussion started by: rooh
2 Replies
3. UNIX for Dummies Questions & Answers
Hi everyone.
I'm needing some help with this. I've made some backups on the same tape using cpio.
With cpio -civt < /dev/rmt/0un i could see the first backups files, but now i'm getting the next messages <<End of medum on "imput">> <<To continue, type device/file name when ready>>.
I... (3 Replies)
Discussion started by: livortiz
3 Replies
4. UNIX for Dummies Questions & Answers
Hello,
how can I restore files from a DAT using CPIO ?
If I make :
# mkdir save
# cd /save
# cpio -icumvdB </dev/rct0
Does the archive restore only in the directory /save ?
And how can I restore a specified file from the DAT with the cpio command ? How can I know the size of the... (2 Replies)
Discussion started by: kok
2 Replies
5. HP-UX
Hello all ...
I am an Oracle DBA that got stuck in a HP-UX SA role and need some help figuring out a UNIX problem. According to Oracle documentation, I am to issue the following command ...
cpio -idcmv <file_name>
However when I do, the server just hangs there and does nothing til I... (3 Replies)
Discussion started by: soestx
3 Replies
6. 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
7. AIX
Hi,
FYI I've this AIX6.1 machine that I'm telnet to using Putty. I have this oracle client file which is 1G+ that took me several hours to transfer.
I was trying to unzip 10gr2_aix5l64_client.cpio.gz.
# gunzip 10gr2_aix5l64_client.cpio.gz /usr/app/oracle
gunzip: /usr/app/oracle is a... (6 Replies)
Discussion started by: pilotHans
6 Replies
8. Solaris
i need to extract cpio file archived full path to /restore/ (not full path or fullpath under this directory ) i can't find option for cpio please help me
example.
i have cpio file archive /etc/* and i need to extract file to /restore
#cpio -ivBcdmu < xx.cpio
but data from cpio not... (3 Replies)
Discussion started by: infjustice
3 Replies
9. UNIX for Dummies Questions & Answers
Hi I'm new to the forum and looking for some help with cpio archive creation.
I have a bunch of directories that I need to make into a cpio archive.
The problem I'm having is that when I input the commands I get the cpio archive but it creates a duplicate of the archive inside the archive... (4 Replies)
Discussion started by: reeves1985
4 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(1) General Commands Manual CPIO(1)
NAME
cpio - copy files to and from archives
SYNOPSIS
cpio {-o|--create} [-0acvABLV] [-C bytes] [-H format] [-M message] [-O [[user@]host:]archive] [-F [[user@]host:]archive]
[--file=[[user@]host:]archive] [--format=format] [--message=message] [--null] [--reset-access-time] [--verbose] [--dot] [--append]
[--block-size=blocks] [--dereference] [--io-size=bytes] [--quiet] [--force-local] [--rsh-command=command] [--help] [--version] < name-list
[> archive]
cpio {-i|--extract} [-bcdfmnrtsuvBSV] [-C bytes] [-E file] [-H format] [-M message] [-R [user][:.][group]] [-I [[user@]host:]archive] [-F
[[user@]host:]archive] [--file=[[user@]host:]archive] [--make-directories] [--nonmatching] [--preserve-modification-time] [--numeric-uid-
gid] [--rename] [-t|--list] [--swap-bytes] [--swap] [--dot] [--unconditional] [--verbose] [--block-size=blocks] [--swap-halfwords] [--io-
size=bytes] [--pattern-file=file] [--format=format] [--owner=[user][:.][group]] [--no-preserve-owner] [--message=message] [--force-local]
[--no-absolute-filenames] [--sparse] [--only-verify-crc] [--to-stdout] [--quiet] [--rsh-command=command] [--help] [--version] [pattern...]
[< archive]
cpio {-p|--pass-through} [-0adlmuvLV] [-R [user][:.][group]] [--null] [--reset-access-time] [--make-directories] [--link] [--quiet] [--pre-
serve-modification-time] [--unconditional] [--verbose] [--dot] [--dereference] [--owner=[user][:.][group]] [--no-preserve-owner] [--sparse]
[--help] [--version] destination-directory < name-list
REPORTING BUGS
Report cpio bugs to bug-cpio@gnu.org
GNU cpio home page: <http://www.gnu.org/software/cpio/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report cpio translation bugs to <http://translationproject.org/team/>
SEE ALSO
cpio(5)
DESCRIPTION
GNU cpio is fully documented in the texinfo documentation. To access the help from your command line, type
info cpio
The online copy of the documentation is available at the following address:
http://www.gnu.org/software/cpio/manual
CPIO(1)