![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| choose what to extract from tar archive | noratx | UNIX for Dummies Questions & Answers | 2 | 03-28-2008 02:50 AM |
| Create Year directory, date subdirectory and archive the file | madhunk | UNIX for Dummies Questions & Answers | 2 | 12-13-2007 07:25 AM |
| tar extract to different directory | ammu | UNIX for Advanced & Expert Users | 1 | 07-25-2007 07:54 AM |
| extract a sub directory form a tar file | Optimus_P | UNIX for Advanced & Expert Users | 2 | 01-28-2004 09:23 AM |
| redirecting tar extract to another directory | colesy | UNIX for Dummies Questions & Answers | 7 | 01-28-2003 12:40 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
I would like to extract the files from an archive which I have copied from a different server which has different file structures to my server. When I do a tar xvf archive_name, I get the error saying the file or directory cannot be found. How do I specify a desginated directory to hold the files being extracted. Thanks in advance. John |
| Forum Sponsor | ||
|
|
|
|||
|
Thanks cbkihong,
I tried this: tar xzf CDB20030623 -C /u06/keyforce/master/hist/ and I got this (I don't think it recognises the z parameter): Usage: tar -{c|r|t|u|x} [-BdFhilmopsvw] [-Number] [-fFile] [-bBlocks] [-S [Feet] [Feet @Density] [Blocksb]] [-LInputList] [-NBlocks] [-C Directory] File ... then I tried this: tar xvf CDB20030623 -C /u06/keyforce/master/hist/ No errors, but also no output either. Thanks. |