Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [cpio]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
547 views

Cannot unpack a file with sudo cpio

I have sudo permissions and I'm trying to unpack a file with cpio command. However, because of the path properties I get permission denied when I try to do it. $ id uid=4777(testuser) gid=100(users) ...
0
votes
1answer
120 views

Error trying to copy files with find and cpio

I have a bash script that I use to periodically make a backup of proofs (PDFs & JPGs) from a server I work on. I put together the script a couple of years ago and it used to work however the ...
1
vote
1answer
390 views

cpio VS tar - what the best archive solution in order to compress hundred of directories to one file

in my Linux machine under /var/Recording directory. I have hundreds directories and each directory there are also directories and files include hard links and soft link . I want to compress all ...
0
votes
1answer
45 views

Filenames stating with ./ in cpio files created with mac

I would like to use my mac to create cpio files to be used in linux. The filenames seem to be "./name" when created in mac. When the cpio is created in linux name is just "name". The sw I need to use ...
4
votes
1answer
2k views

How to extract concatenated cpio archive?

% find a/ | cpio -o | gzip -c > alpha.gz % find b/ | cpio -o | gzip -c > bravo.gz % cat alpha.gz beta.gz > charlie.gz % gunzip charlie.gz Now I get file charlie, which should be a ...
4
votes
1answer
2k views

Cygwin cpio doesn't work on Windows

I have just installed cygwin on Windows 7 x64, and I have installed all the packages I need. I have installed cpio, and I am attempting to extract a file with the following command line in the cygwin ...
0
votes
1answer
789 views

using rsync/cpio to backup 28TB filesystem

I need your help in finding a best tools/command to backup a huge(140k directories= 24TB) filesystem. I used cpio to copy 80% but my system is out of memory i was forced to kill cpio half way. Our ...
0
votes
0answers
209 views

Cloning xfs filesystem using cpio?

I need your help in cloning 28TB xfs filesystem I used the following script: /backuptacs.sh >> /backuptacs.log And the script is: #!/bin/ksh echo "++++++++++++++++ Start Date is `date`++++++++...
40
votes
6answers
31k views

What is the difference between TAR vs CPIO archive file formats?

I am curious and did a bit of reading but still have questions. What makes CPIO different than TAR? I was told in another question that tar is for pulling together many files into 1 archive which ...
9
votes
1answer
4k views

extract a few members from tar archive and pipe through network

edit: I want to extra member01 and member02 and directory blah/ tarball_1.tar.gz contains directory test/ with 20 files. I want to extract only member test/member01 and test/member02 and directory ...
7
votes
3answers
10k views

Copy file in GNU/Linux with progress bar and rate limiting

Is there any good tool in GNU/Linux that copy files like cp, but also shows progress and limits speed (and changes limit without interruption) like pv? Prototype: find source_directory | cpio -H ...
0
votes
1answer
376 views

Why does cpio say “WARNING! These file names were not selected” when copying a large number of files?

For over 10 years, I've been using this strategy to copy a large number of files between UNIX filesystems: cd source_directory find . -depth -print | cpio -pdm /path/to/destination_directory It ...
12
votes
4answers
15k views

cpio basic extract command, 'tar xzvf' equivalent?

I've received a Unix software distribution as a compressed cpio file. What's the best command to extract the files?