Re: [fedora] dd

2011-09-04 Thread xinyou yan
Yes , May be it is a problem. I want to know what method can i decompress the file compressed by gzip to some files . Can I decompress the compressed file from some position in the file ? The decompress the left one ? (As the file created by gzip -c xxx >> yy gzip -c xxx1 >> yy) > You should

Re: [fedora] dd

2011-09-04 Thread Mikkel L. Ellertson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/04/2011 08:53 AM, Aaron Konstam wrote: > I am not sure what the problem is. > The following works for me: > tar cf archive.tar first > tar -rf archive.tar second > > This produces a file that when one runs: > tar xf archive.tar > produces the f

Re: [fedora] dd

2011-09-04 Thread suvayu ali
On Sun, Sep 4, 2011 at 5:26 PM, xinyou yan wrote: > Yes it is very clear , you suggestion is good . > By the way , I said before gzip  with >>  can  be achieved ? > gzip  -c  make the file be compressed to standout , then redirect , > Can we decompress it with some method ? > 1. compress a file b

Re: [fedora] dd

2011-09-04 Thread xinyou yan
2011/9/4 suvayu ali : > Hi Xinyou, > > On Sun, Sep 4, 2011 at 4:53 PM, xinyou yan wrote: >>> I am not sure what the problem is. >>> The following works for me: >>> tar cf archive.tar first >>> tar -rf archive.tar second >> Yes it can , But tar czf tar rzf can't work >> Second : >> >> if I use >> g

Re: [fedora] dd

2011-09-04 Thread suvayu ali
Hi Xinyou, On Sun, Sep 4, 2011 at 4:53 PM, xinyou yan wrote: >> I am not sure what the problem is. >> The following works for me: >> tar cf archive.tar first >> tar -rf archive.tar second > Yes it can , But tar czf tar rzf can't work > Second : > > if I use > gzip -c file1 >>  yyy.test > How can

Re: [fedora] dd

2011-09-04 Thread Genes MailLists
On 09/04/2011 10:53 AM, xinyou yan wrote: >> I am not sure what the problem is. >> The following works for me: >> tar cf archive.tar first >> tar -rf archive.tar second > Yes it can , But tar czf tar rzf can't work > Second : For what its worth tar understands gzip/bzip2 tar files automatically

Re: [fedora] dd

2011-09-04 Thread xinyou yan
> I am not sure what the problem is. > The following works for me: > tar cf archive.tar first > tar -rf archive.tar second Yes it can , But tar czf tar rzf can't work Second : if I use gzip -c file1 >> yyy.test How can I unpress yyy.test to file1 as file1 I test like it gzip -c test1 > 1.test We

Re: [fedora] dd

2011-09-04 Thread Aaron Konstam
On Sun, 2011-09-04 at 15:49 +0800, xinyou yan wrote: > 2011/9/4 Aaron Konstam : > > On Sat, 2011-09-03 at 22:08 +0800, xinyou yan wrote: > >> 2011/9/3 Chris Tyler : > >> > On Sat, 2011-09-03 at 20:36 +0800, xinyou yan wrote: > >> >> I want to make sure one thing . > >> >> Can I use tar to pack the

Re: [fedora] dd

2011-09-03 Thread Aaron Konstam
On Sat, 2011-09-03 at 22:08 +0800, xinyou yan wrote: > 2011/9/3 Chris Tyler : > > On Sat, 2011-09-03 at 20:36 +0800, xinyou yan wrote: > >> I want to make sure one thing . > >> Can I use tar to pack the file created by dd. > >> I found use tar -rf xx.tar yyy.dd > >> can't make the file in

Re: [fedora] dd

2011-09-03 Thread Joachim Backes
On 09/03/2011 03:41 PM, Chris Tyler wrote: On Sat, 2011-09-03 at 20:36 +0800, xinyou yan wrote: I want to make sure one thing . Can I use tar to pack the file created by dd. I found use tar -rf xx.tar yyy.dd can't make the file into the tar file . It depends on what is in the dd file

Re: [fedora] dd

2011-09-03 Thread xinyou yan
2011/9/3 Chris Tyler : > On Sat, 2011-09-03 at 20:36 +0800, xinyou yan wrote: >> I want to make sure one thing . >> Can I use tar to pack the file created by dd. >> I found use tar -rf xx.tar yyy.dd >> can't make the file into the tar file . > > It depends on what is in the dd file and wh

Re: [fedora] dd

2011-09-03 Thread Chris Tyler
On Sat, 2011-09-03 at 20:36 +0800, xinyou yan wrote: > I want to make sure one thing . > Can I use tar to pack the file created by dd. > I found use tar -rf xx.tar yyy.dd > can't make the file into the tar file . It depends on what is in the dd file and what you're trying to do. I assum

Re: [fedora] dd

2011-09-03 Thread Jorge Fábregas
On 09/03/2011 08:36 AM, xinyou yan wrote: > I want to make sure one thing . > Can I use tar to pack the file created by dd. Yes. > I found use tar -rf xx.tar yyy.dd > can't make the file into the tar file . The -r switch is to "append" to an existing tar file. If the tar archive doesn

[fedora] dd

2011-09-03 Thread xinyou yan
I want to make sure one thing . Can I use tar to pack the file created by dd. I found use tar -rf xx.tar yyy.dd can't make the file into the tar file . Can zip do this work ? -- 嘉谟之行 “昔我往矣,杨柳依依 ; 今我来思 ,雨雪霏霏”