If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
cpio question
Hi,
How does the -E filename work with cpio? By example, I had an archive with about 5500 files in it of which I only needed three hundred. I am thinking that the command: cpio -iv -E filename /dev/st0 or similiar would extract only the files listed in 'filename'. Is this the correct assumption? I have tried this and it did nothing. I am guessing that my 'filename' is in an incorrect format. Last try it looked like this: /dir/filename /dir/dirfilename etc... Any pointers someone can offer me. I am pretty sure it will be something obvious that I am overlooking. Thanks. Robert |
#2
|
|||
|
|||
cpio question
Your pattern file format is fine. It uses the shell globbing format,
giving a complete file path per line (terminated with newline) should work. You might want to use the '-d' flag to make it create any missing parent directories though, your example would fail when the current directory does not have a '/dir/' directory. |
#3
|
|||
|
|||
cpio question
thanks very much
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A question about dual monitors | Woodsy | General | 1 | March 11th 05 06:17 AM |
couple of Dimension XPS Gen4 question | Matt | Dell Computers | 3 | March 4th 05 02:20 AM |
Pentium question | Robert Sligh | Overclocking AMD Processors | 4 | April 27th 04 01:13 PM |
Question - Printing 2-up on 11x17 | Don | Printers | 1 | August 24th 03 04:27 AM |
Home PC DVD burner Question. | Ruben | General Hardware | 2 | August 18th 03 05:29 PM |