Re: [SLUG] How do I add a file (zip) to a package without compressing it

2011-07-28 Thread Marghanita da Cruz
Matthew Hannigan wrote: On Fri, Jul 29, 2011 at 09:11:20AM +1000, Marghanita da Cruz wrote: Marghanita da Cruz wrote: pe...@chubb.wattle.id.au wrote: zip -0 file.epub mimetype -0 says don't compress. It's a zero, not an `oh'. Thanks - looks like the command I was looking for. Any sugg

Re: [SLUG] How do I add a file (zip) to a package without compressing it

2011-07-28 Thread Matthew Hannigan
On Fri, Jul 29, 2011 at 09:11:20AM +1000, Marghanita da Cruz wrote: > Marghanita da Cruz wrote: > >pe...@chubb.wattle.id.au wrote: > > > >>zip -0 file.epub mimetype > >> > >>-0 says don't compress. It's a zero, not an `oh'. > >> > > > > > >Thanks - looks like the command I was looking for. > > >

Re: [SLUG] How do I add a file (zip) to a package without compressing it

2011-07-28 Thread Peter Chubb
> "Marghanita" == Marghanita da Cruz writes: Marghanita> Marghanita da Cruz wrote: >> pe...@chubb.wattle.id.au wrote: >>> zip -0 file.epub mimetype >>> >>> -0 says don't compress. It's a zero, not an `oh'. >>> >> >> >> Thanks - looks like the command I was looking for. >> Marghanita>

Re: [SLUG] How do I add a file (zip) to a package without compressing it

2011-07-28 Thread Marghanita da Cruz
Marghanita da Cruz wrote: pe...@chubb.wattle.id.au wrote: zip -0 file.epub mimetype -0 says don't compress. It's a zero, not an `oh'. Thanks - looks like the command I was looking for. Any suggestions of how to fix this problem? "ERROR: test6.epub: extra field length for first filenam

Re: [SLUG] How do I add a file (zip) to a package without compressing it

2011-07-27 Thread peter
> "DaZZa" == DaZZa writes: DaZZa> 2011/7/28 Marghanita da Cruz : >> I looked at tar but couldn't figure out the option not to compress >> there either. Does Tar compress or not compress by default? DaZZa> So you could do something like this YMMV, if it don't work don't blame me, MAN is yo

Re: [SLUG] How do I add a file (zip) to a package without compressing it

2011-07-27 Thread DaZZa
2011/7/28 Marghanita da Cruz : > I looked at tar but couldn't figure out the option not to compress there > either. Does Tar compress or not compress by default? Tar doesn't compress at all - if you want to compress a tar archive you have to pipe through gzip or something similar *prior* to writin

Re: [SLUG] How do I add a file (zip) to a package without compressing it

2011-07-27 Thread peter
> "Marghanita" == Marghanita da Cruz writes: Marghanita> pe...@chubb.wattle.id.au wrote: >> zip -0 file.epub mimetype >> >> -0 says don't compress. It's a zero, not an `oh'. >> Marghanita> Marghanita> Thanks - looks like the command I was looking for. Marghanita> Chris Donovan wrote: >

Re: [SLUG] How do I add a file (zip) to a package without compressing it

2011-07-27 Thread Marghanita da Cruz
pe...@chubb.wattle.id.au wrote: zip -0 file.epub mimetype -0 says don't compress. It's a zero, not an `oh'. Thanks - looks like the command I was looking for. Chris Donovan wrote: I would use tar then. It might be possible with zip (seems unlikely though), but tar sounds like what you'r

Re: [SLUG] How do I add a file (zip) to a package without compressing it

2011-07-27 Thread peter
> "Marghanita" == Marghanita da Cruz writes: Marghanita> It is to create an EPUB Package. To create the epub Marghanita> package, I need to create a .zip file and then change the Marghanita> extension from ".zip" to ".epub". Marghanita> The problem is that one of the files to be added must

Re: [SLUG] How do I add a file (zip) to a package without compressing it

2011-07-27 Thread Chris Donovan
2011/7/28 Marghanita da Cruz : > To create the epub package, I need to create a .zip file and then change the > extension from  ".zip" to ".epub". > > The problem is that one of the files to be added must not be compressed. I would use tar then. It might be possible with zip (seems unlikely thoug

Re: [SLUG] How do I add a file (zip) to a package without compressing it

2011-07-27 Thread Marghanita da Cruz
It is to create an EPUB Package. To create the epub package, I need to create a .zip file and then change the extension from ".zip" to ".epub". The problem is that one of the files to be added must not be compressed. Marghanita Amit Dor-Shifer wrote: Package? You mean, a .zip/.tar archive

Re: [SLUG] How do I add a file (zip) to a package without compressing it

2011-07-27 Thread Amit Dor-Shifer
Package? You mean, a .zip/.tar archive ? amit@pavement:~/.../1.1.x-RELEASE/package$ zip zip.zip /usr/lib/libgcr.so.0 adding: usr/lib/libgcr.so.0 (deflated 64%) amit@pavement:~/.../1.1.x-RELEASE/package$ zip -0 zip.zip /usr/lib/libgc.so.1 adding: usr/lib/libgc.so.1 (stored 0%) amit@pavement:~/..

[SLUG] How do I add a file (zip) to a package without compressing it

2011-07-27 Thread Marghanita da Cruz
I couldn't figure out how to do it via the Archive feature on the Gnome/Ubuntu desktop. Can anyone recommend a package or the command to do this with zip, tar? Marghanita -- Marghanita da Cruz http://ramin.com.au Tel: 0414-869202 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.