[Date Prev][Date Next]
[Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[New search]
To: "Free Framers" <framers@xxxxxxxxx>
Subject: Re: C-shell script to save all files to MIF
From: "Thomas Michanek" <thomas.michanek@xxxxxxxxx>
Date: Fri, 23 Aug 2002 11:00:31 +0200
Organization: At home
Reply-To: "Thomas Michanek" <thomas.michanek@xxxxxxxxx>
Sender: owner-framers@xxxxxxxxx
*** The original message appeared on the FrameUsers mailing list. *** This reply is sent only to the "Free Framers" mailing list. *** If this message is useful, consider copying it to FrameUsers. From: "Kowalski Pete-PKOWALS1" <Pete.Kowalski@motorola.com> > I found the script at the Adobe.com site. > > #! /bin/csh -f > # C shell script to build an fmbatch command file that > # saves all documents in the current directory as mif files. You may want to check out my collection of MIF scripts for UNIX, as they are more complete and versatile, IMHO: http://w1.184.telia.com/~u18407300/mifscripts > The script only works in the current directory but can this be somehow > modified so it would run in any subdirectories? My scripts also only work for files in the current directory; it's easier to write the code for that "limitation". But if you want the Adobe script to work that way, the modification you need to do is: foreach f (*.fm */*.fm */*/*.fm) (add more similar entries depending on how many directory levels you have) Note that I added ".fm" to only pick up files with that extension. That way you'll avoid other file types, book files, etc. - - - - - - - - - - - - - - - - - - - - - - Thomas Michanek, FrameMaker/UNIX/MIF expert mailto:Thomas.Michanek@telia.com (Sweden) http://go.to/framers/ - - - - - - - - - - - - - - - - - - - - - - Join the low-volume "Free Framers" mailing list: send an email to majordomo@omsys.com with "subscribe framers" in the body ** To unsubscribe, send a message to majordomo@omsys.com ** ** with "unsubscribe framers" (no quotes) in the body. **