gmail-processor
gmail-processor copied to clipboard
Replacement of characters in the file name
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