[Framers] Replace URLs

Syed Zaeem Hosain Syed.Hosain at aeris.net
Wed Dec 21 20:01:39 PST 2016


I have not done thousands of files, but what has worked easily for me is a tool I wrote that (runs in a DOS command window, unfortunately) converts text from one string to another. 

Since you can wild-card the input for the filenames, it can operate on all the files in one go! Only operates on text, so you have to be sure to use MIF files only.

This can be dangerous if you do not know exactly what you want, but it has verbose output and a query mode to allow me to check the changes (this would be impractical for thousands of files - but once you are sure of the change not being too global, then letting it run automatically is okay).

1. I save the files as text MIF files.
2. Copy them into a separate working folder for safety, till I am sure of the change.
3. Run my tool on all the files in that working folder, with query on till I am sure that it is working the way I want, then go for it!

If you are interested in this command tool (I have to make sure it works in 64-bit Windows though), let me know!

Z

-----Original Message-----
From: Framers [mailto:framers-bounces+syed.hosain=aeris.net at lists.frameusers.com] On Behalf Of john.x.posada at us.hsbc.com
Sent: Thursday, December 8, 2016 06:54 AM
To: framers at lists.frameusers.com
Subject: [Framers] Replace URLs

Hi, guys. My company is reorganizing its SharePoint infrastructure with the new year by moving  a whole bunch of SP project folders. My documentation has thousands of URL to files and folders on multiple SP sites that are going to be consolidated to one SP site, hence, breaking every one of my links.

This means I need to change the root part of thousands of URLs from one address to another. This has to be applicable against a whole book and not file by file...I have over 1,000 FM 11 files

What are my options?

Thanks

John Posada


-----------------------------------------
******************************************************************
This E-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return E-mail.

Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
******************************************************************
SAVE PAPER - THINK BEFORE YOU PRINT!
_______________________________________________

This message is from the Framers mailing list

Send messages to framers at lists.frameusers.com Visit the list's homepage at  http://www.frameusers.com Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listadmin at frameusers.com


More information about the Framers mailing list