I have a number of documents (~42,000) that contain the character "/", which is a problem when I need to export them out. Specifically, I need to export a folder for an audit, but the contents of that folder have 12,000 entries containing a forward slash.
Question
Question
How do I find and replace a specific character in all file names?
Replies
what is the value you wish to replace it with?
You can configure a workflow that searches for all instances where that character is in the name. You then have the workflow loop through each entry and have it rename to the token for its original name, but use the function "Split" to split it at the "/" and then you can use the index option to make it display with a space instead.
like this:
Exporting through the Client automatically replaces characters that are not allowed in Windows file paths with underscores.
I was attempting to modify all "/" with "_"
Miruna, that has not been my experience. I simply get an error which terminates my entire content export.
What version of Laserfiche are you using?
What error do you get? Depending on how you're doing the export (selecting multiple files or selecting a folder and exporting folder contents) there may be issues if you are using an older version of Laserfiche (before 9.0) and/or if you are using Windows XP/2003.
What version of Laserfiche are you using?
if you do not go with Miruna's suggestion, you can instead do the first part of my suggestion where you modify the original name to be split on the "/" and put that in a For Each Value, and use the iterator token to set a condition where if it's not the first iteration, that you append "_" before adding in the current value to a token that you then use to rename the entry.
Yeah, my version is very old. I am running on 7.2.1.0410. We have since moved to Sharepoint, but we need info out of Laserfiche for an audit.
A member of the Laserfiche team may be able to tell you where to look, but you may be able to accomplish this with the use of a stored procedure accessing the database for Laserfiche filenames and changing out that character. Not entirely sure though. Good Luck