[ILUG] Extract tar file

Conor Mac Aoidh conormacaoidh at gmail.com
Fri Jan 30 17:59:51 GMT 2009


Hi,

I have a question about extracting a tar file. This is what I have:

tar xvf filename.tar.bz2 -C /target

at the moment this creates a new folder and puts the contents in it,
/target/filename/contents

how can i tell it to put the contents of the tar directly into that
folder so they would be here: /target/contents

Thanks
-- 
Conor

http://macaoidh.name



More information about the ILUG mailing list