A computer components & hardware forum. HardwareBanter

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.

Go Back   Home » HardwareBanter forum » General Hardware & Peripherals » Storage & Hardrives
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

cpio question



 
 
Thread Tools Display Modes
  #1  
Old November 19th 05, 02:11 AM posted to comp.arch.storage
external usenet poster
 
Posts: n/a
Default 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  
Old November 25th 05, 04:09 PM posted to comp.arch.storage
external usenet poster
 
Posts: n/a
Default 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  
Old November 29th 05, 01:45 AM posted to comp.arch.storage
external usenet poster
 
Posts: n/a
Default cpio question

thanks very much

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 10:43 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.