On Thursday 26 July 2007, mal content wrote:
> Hello.
>
> I have a large number of xcf files that have a section of
> text embedded in them. Is there a tool or method available
> to safely and reliably modify this text (replace it with
> other text) from the shell, or some other interface that
> doesn't require me to open 100 or so files in Gimp*?
>
> I'd ideally like to be able to do something along the lines
> of:
>
>   $ for f in *.xcf; do xcf_text_replace $layer_num file.txt; done
>
> thanks,
> MC
>
> * they are huge files, I doubt my hardware could cope.
> _______________________________________________
> Gimp-user mailing list
> Gimp-user@lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
>
>
> _________________________________________________________________
> Need personalized email and website? Look no further. It's easy
> with Doteasy $0 Web Hosting! Learn more at www.doteasy.com

If you are on a Linux or similar platform something along the lines of 
awk or sed could be  possible approaches.  I quote from an old 
manual:
"The advantages of sed are that it can apply the same editing comands 
to many files; it can edit a large file quickly; and it can readily 
be used with pipes."

-- 
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed. 
http://wexfordpress.com

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

Reply via email to