gmail-processor icon indicating copy to clipboard operation
gmail-processor copied to clipboard

Replacement of characters in the file name

Open Franz-65 opened this issue 4 years ago • 0 comments

Hello, Thanks for the great script. It works really well. I would like to exchange letters for the filename that is saved.

I use this script for the filenames:

        "filter": "has:attachment from:[email protected]",
        "folder": "XYZ/XYZ",
        "filenameFromRegexp": ".*\.pdf$"

However, the character "/" is often used in the filename of the attachment. e.g. "timeline/postbox3226.pdf" How can I replace this with e.g. "-" Does that work with the replace command? If so, how do I have to use this?

many thanks for your help

Franz-65 avatar Dec 21 '20 11:12 Franz-65