Re: [Gimp-user] Batch convert .xcf to .xcfgz

2009-02-04 Thread Jeffrey Brent McBeth
On Wed, Feb 04, 2009 at 07:28:06PM +0100, GSR - FR wrote:
 Hi,
 capn...@yahoo.com (2009-02-04 at 0902.16 -0800):
  I have a large amout of .xcf that I would like to batch convert to .xcfgz 
  is there an application that can do this?
 
 Just run gzip *.xcf in a shell. Or look for a compression app that can
 gzip multiple files separatelly (not tar then gzip... no idea if any
 app does that alone, I just go with simpler g(un)zip for this).
 
 As advice, save and use .xcf.gz instead of .xcfgz so you need no extra
 steps, gunzip *.xcf.gz will revert the compression, but with .xcfgz
 you will need some tricks to handle the renaming.

The trick isn't hard once you know it

gzip -S gz *.xcf

(the default suffix is .gz, so we are just removing the .)
Jeff

-- 

The man who does not read good books has no advantage over 
 the man who cannot read them.
 -- Mark Twain



signature.asc
Description: Digital signature
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Batch convert .xcf to .xcfgz

2009-02-04 Thread GSR - FR
Hi,
mcb...@broggs.org (2009-02-04 at 1345.13 -0500):
 On Wed, Feb 04, 2009 at 07:28:06PM +0100, GSR - FR wrote:
  Hi,
  capn...@yahoo.com (2009-02-04 at 0902.16 -0800):
   I have a large amout of .xcf that I would like to batch convert to .xcfgz 
   is there an application that can do this?
  
  Just run gzip *.xcf in a shell. Or look for a compression app that can
  gzip multiple files separatelly (not tar then gzip... no idea if any
  app does that alone, I just go with simpler g(un)zip for this).
  
  As advice, save and use .xcf.gz instead of .xcfgz so you need no extra
  steps, gunzip *.xcf.gz will revert the compression, but with .xcfgz
  you will need some tricks to handle the renaming.
 
 The trick isn't hard once you know it
 
 gzip -S gz *.xcf
 
 (the default suffix is .gz, so we are just removing the .)

Ahh, good trick to know indeed, that the dot has to be explicitly
mentioned as part of the extension.

Well, using .gz (or .bz2 for bzip2 compression) still has more
adventages, not only with gzip, but Gimp in general, as you can save
.pnm.gz or many other formats that are natively uncompressed and it
will load back, but the only supported without dot are .xcfgz and
.xcfbz2.

GSR
 
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Batch convert .xcf to .xcfgz

2009-02-04 Thread D.Jones (aka) Capnhud






 Hi,
 capn...@yahoo.com (2009-02-04 at 0902.16 -0800):
  I have a large amout of .xcf that I would like to
 batch convert to .xcfgz is there an application that can do
 this?
 
 GSR - FR wrote
Just run gzip *.xcf in a shell. Or look for a compression
 app that can
 gzip multiple files separatelly (not tar then gzip... no
 idea if any
 app does that alone, I just go with simpler g(un)zip for
 this).
 
 As advice, save and use .xcf.gz instead of .xcfgz so you
 need no extra
 steps, gunzip *.xcf.gz will revert the compression, but
 with .xcfgz
 you will need some tricks to handle the renaming.
 
 GSR
  


Is this possible on windows xp?  Becaues what you just said sounded like a 
foreign language that I have never heard :)



Jeffrey Brent McBeth wrote
 
 The trick isn't hard once you know it
 
 gzip -S gz *.xcf
 
 (the default suffix is .gz, so we are just removing the .)
 Jeff


I forgot to mention how would you do this on Windows XP.  Completely forgot 
that gimp runs on other OS besides windows.


  
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Batch convert .xcf to .xcfgz

2009-02-04 Thread David Gowers
Hi!
On Thu, Feb 5, 2009 at 11:36 AM, D.Jones (aka) Capnhud
capn...@yahoo.com wrote:

 GSR



 Is this possible on windows xp?  Becaues what you just said sounded like a 
 foreign language that I have never heard :)


This is because of the depravity and poverty of Windows software culture.

:)

Seriously,

http://gnuwin32.sourceforge.net/packages/gzip.htm

should be usable in a very similar way to the instructions given.


David
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Batch convert .xcf to .xcfgz

2009-02-04 Thread Chris Mohler
On Thu, Feb 5, 2009 at 9:06 PM, David Gowers 00a...@gmail.com wrote:
 Hi!
 On Thu, Feb 5, 2009 at 11:36 AM, D.Jones (aka) Capnhud
 capn...@yahoo.com wrote:

 GSR



 Is this possible on windows xp?  Becaues what you just said sounded like a 
 foreign language that I have never heard :)


 This is because of the depravity and poverty of Windows software culture.

 :)

 Seriously,

 http://gnuwin32.sourceforge.net/packages/gzip.htm

 should be usable in a very similar way to the instructions given.

And doesn't Cygwin provide gzip also?  Not to mention a better shell
than stock XP ;)
http://www.cygwin.com/

Chris
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user