Sorry for bad English. I was trying to compress file foo and store it in file named bar.gz ( I was not trying to compress a compressed file). the command "gzip foo" will give the file a name foo.gz defaultly. Is there a command by using which I can redirect the output compressed file to bar.gz ( not foo.gz) Thanks
On 26 Jan 2003, Drew Einhorn wrote: > Why? > > Unless you have violated the usual naming conventions and bar.gz > has not already been gzipped, which is just plain confusing and will > eventually bite someone when they are confused. > > Compressing a compressed file doesn't work. The file will probably > increase in size. > > gunzipping the file then using a better compression program such a bzip > would probably be useful. but might not be worth the trouble unless the > uncompressed file is really big. > > On Sun, 2003-01-26 at 20:46, Jianping Zhu wrote: > > > > I have a file foo, I to gzip it. > > by using > > "gzip foo" > > It will get a file called foo.gz > > > > but i want a compress file named bar.gz > > > > Is there a way to do that? > > > > Thanks > > > > > > > > > > > > -- > > redhat-list mailing list > > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list > -------------------------------- Jianping Zhu Department of Computer Science Univerity of Georgia Athens, GA 30602 Tel 706 5423900 -------------------------------- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list