bug-cpio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-cpio] How to remove a file from a CPIO archive without extracting


From: T.Senthil Nathan
Subject: [Bug-cpio] How to remove a file from a CPIO archive without extracting
Date: Wed, 26 Oct 2016 16:07:39 +0530

Hello all,

Could you please let me know how to remove a set of files from the source CPIO archive with out extracting it and writing in to a destination archive file.

I have explored cpio-filter (http://search.cpan.org/~pixel/Archive-Cpio-0.07/bin/cpio-filter)implemented in perl. Today it reads the complete CPIO file and removed the exclude content and write it in to the destination file.

We want a cpio filter to work on a FIFO (name pipes) in which you will receive streams of 64K chunk of data, and apply this filter (exclude the file) on this stream and write in to the file.


Do we have any filter which is already available, if not can you please throw some light on how to implement this. 


Thanks,

Senthil


reply via email to

[Prev in Thread] Current Thread [Next in Thread]