Renaming 300 linked graphics in Framemaker - Unix/Linux solution

Robert Evans Robert.Evans at arc.com
Tue Sep 16 09:22:01 PDT 2008


The following will work if you have if you are working in, or have
access to, a unix or linux environment (eg Cygwin) then its relatively
easy use a sed script to make the changes on saved .MIF version(s) of
the affected file(s).

Each line of your sed script would be something like this:

/ImportObFileDI/ s/08-204/analyzer_main/

The first part "/ImportObFileDI/" limits changes to the lines in the MIF
file where the path to the file is given, so there should be no danger
of making changes to other parts of the file.

The second part of the line gives the old and new file names. If you
haven't already renamed the files then you could start off with a unix
script that renames the files, for example:

mv 08-204 analyzer_main

and then edit this to create your sed script.

You can then run the sed script with the command:

	sed - f script-file-name input.mif > output.mif

I don't know of any equivalent batch processing utilities available
under Windows but would be interested if anyone knows of them.

Regards

Rob Evans

-----Original Message-----
From: framers-bounces at lists.frameusers.com
[mailto:framers-bounces at lists.frameusers.com] On Behalf Of Andersen,
Verner Engell VEA
Sent: 16 September 2008 16:15
To: framers at lists.frameusers.com
Subject: Renaming 300 linked graphics in Framemaker

Hello
Arrgh
 
All my linked graphics have numbers as the file name, like "08-204". Now
the company decision is that they should have letters, like
"analyzer_main".
We plan to keep all file names the same in all translated languages.
 
Is there an easy way to do this without having to reimport.
Maybe there is a tool?
 
 
 
 
Med venlig hilsen - Best regards
Verner Andersen
Technical Writer

Radiometer Medical ApS
Phone +45 3827 3612
Fax +45 3827 2727
verner.andersen at radiometer.dk
--------------------------------------------------------



Radiometer Medical ApS 
Akandevej 21 
2700 Bronshoj 
Denmark 
Phone: +45 38 27 38 27 
CVR: 27 50 91 85 
 
--------------------------------------------------------

This message (including any attachments) contains confidential 
and/or proprietary information intended only for the addressee.  
Any unauthorized disclosure, copying, distribution or reliance on 
the contents of this information is strictly prohibited and may 
constitute a violation of law.  If you are not the intended 
recipient, please notify the sender immediately by responding to 
this e-mail, and delete the message from your system.  If you 
have any questions about this e-mail please notify the sender 
immediately.
_______________________________________________


You are currently subscribed to Framers as robert.evans at arc.com.

Send list messages to framers at lists.frameusers.com.

To unsubscribe send a blank email to 
framers-unsubscribe at lists.frameusers.com
or visit
http://lists.frameusers.com/mailman/options/framers/robert.evans%40arc.c
om

Send administrative questions to listadmin at frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.





More information about the framers mailing list