Re: [SLUG] tar problem
> "Luke" == Luke Vanderfluit writes: Luke> Hi, I have a slight tar problem (no I haven't been smoking!) Luke> I have a tar file foo.tar when I extract it, it has the the Luke> following error messages pax -r -s '/^\.\././' < foo.tar Tar can't fix this one; pax can. (You may need to install pax -- it's the POSIX answer to create peace after the tar vs cpio wars, and can read and write both formats) -- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au The technical we do immediately, the political takes *forever* -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] tar problem
On Tue, 28 Sep 2004 23:12:38 +0930, Luke (Terry) Vanderfluit <[EMAIL PROTECTED]> wrote: > Hi, > > I have a slight tar problem (no I haven't been smoking!) > > I have a tar file foo.tar > when I extract it, it has the the following error messages > > tar xvf foo.tar Have you tried; tar xvf foo.tar . Not sure if it will work.. but soon find out :) -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] tar problem
On Tue, 2004-09-28 at 23:12, Luke (Terry) Vanderfluit wrote: > Hi, > > I have a slight tar problem (no I haven't been smoking!) > > I have a tar file foo.tar > when I extract it, it has the the following error messages > > tar xvf foo.tar > ~ > ../ > tar: ../: Member name contains `..' > ../tmp/ > tar: ../tmp/: Member name contains `..' > ../tmp/foo.tar.gz > tar: ../tmp/foo.tar.gz: Member name contains `..' > ../237_autumn03_outline.doc > tar: ../237_autumn03_outline.doc: Member name contains `..' > ../assTemplate.doc > tar: ../assTemplate.doc: Member name contains `..' > ../bibRefEd7.doc > tar: ../bibRefEd7.doc: Member name contains `..' > ../completedModules/ > tar: ../completedModules/: Member name contains `..' > ../completedModules/itc129/ > tar: ../completedModules/itc129/: Member name contains `..' > ../completedModules/itc129/assignments/ > tar: ../completedModules/itc129/assignments/: Member name contains > `..' > ../completedModules/itc129/assignments/ass1/ > tar: ../completedModules/itc129/assignments/ass1/: Member name > contains > `..' > ../completedModules/itc129/assignments/ass1/ass1.doc > > ~ > apparently I have tarred it up using the parent directory. I can't > remember doing that. > The first few lines are also curious. > the file foo.tar.gz lives in the 'tmp' directory, where I've made a > copy > of it to *play* with. It's in the tmp directory that I have carried > out the command. > > is there any way I can retrieve these files? > currently there is no output. > somehow I need to trick tar into thinking that everything should go > into > the current directory, > > any ideas? > > thanks, > Luke > > -- > > Luke (Terry) Vanderfluit > Mobile: 0421 276 282 > -- Luke (Terry) Vanderfluit Mobile: 0421 276 282 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] tar problem
Hi, I have a slight tar problem (no I haven't been smoking!) I have a tar file foo.tar when I extract it, it has the the following error messages tar xvf foo.tar ~ ../ tar: ../: Member name contains `..' ../tmp/ tar: ../tmp/: Member name contains `..' ../tmp/foo.tar.gz tar: ../tmp/foo.tar.gz: Member name contains `..' ../237_autumn03_outline.doc tar: ../237_autumn03_outline.doc: Member name contains `..' ../assTemplate.doc tar: ../assTemplate.doc: Member name contains `..' ../bibRefEd7.doc tar: ../bibRefEd7.doc: Member name contains `..' ../completedModules/ tar: ../completedModules/: Member name contains `..' ../completedModules/itc129/ tar: ../completedModules/itc129/: Member name contains `..' ../completedModules/itc129/assignments/ tar: ../completedModules/itc129/assignments/: Member name contains `..' ../completedModules/itc129/assignments/ass1/ tar: ../completedModules/itc129/assignments/ass1/: Member name contains `..' ../completedModules/itc129/assignments/ass1/ass1.doc ~ apparently I have tarred it up using the parent directory. I can't remember doing that. The first few lines are also curious. the file foo.tar.gz lives in the 'tmp' directory, where I've made a copy of it to *play* with. It's in the tmp directory that I have carr is there any way I can retrieve these files? currently there is no output. somehow I need to trick tar into thinking that everything should go into the current directory, any ideas? thanks, Luke -- Luke (Terry) Vanderfluit Mobile: 0421 276 282 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html