You are viewing limited content. For full access, please sign in.

Question

Question

How do I find and replace a specific character in all file names?

asked on August 19, 2014

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. 

0 0

Replies

replied on August 19, 2014

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: 

1 0
replied on August 19, 2014

Exporting through the Client automatically replaces characters that are not allowed in Windows file paths with underscores.

0 0
replied on August 19, 2014

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.

0 0
replied on August 19, 2014

What version of Laserfiche are you using?

0 0
replied on August 19, 2014

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?

0 0
replied on August 19, 2014

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. 

0 0
replied on August 19, 2014

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.

0 0
replied on August 19, 2014

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

0 0
replied on April 29, 2015

Is it possible to export entire set of repository files?  Moving to another system and will need complete export of files.

Thanks.

You are not allowed to follow up in this post.

Sign in to reply to this post.