[Gimp-user] Batch convert .xcf to .xcfgz
Jeffrey Brent McBeth
mcbeth at broggs.org
Wed Feb 4 10:45:13 PST 2009
On Wed, Feb 04, 2009 at 07:28:06PM +0100, GSR - FR wrote:
> Hi,
> capnhud at 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
----------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : /lists/gimp-user/attachments/20090204/ecc6ef68/attachment.bin
More information about the Gimp-user
mailing list