Pascal Script Help
Posted: Wed May 11, 2022 8:21 pm
Hello there,
I'm a new Syncovery user and was very much hoping somebody on this forum could help me out the following requirement:
- I have a single standard job that copies .csv files L-R.
- The right-hand side is a SharePoint document library - works as expected.
- Ideally I need to rename the .csv files on the right-hand side post copy, by removing the date stamp portion of the filename, regardless of the daily date stamp changes.
Filename Example:
FilenameA-11-05-2022.csv renamed to FilenameA.csv
FilenameB-11-05-2022.csv renamed to FilenameB.csv
FilenameC-11-05-2022.csv renamed to FilenameC.csv
Can this be achieved using Syncovery's Pascal scripting support and if so, would any kind souls out there be generous enough with their time to either guide me on the topic, or perhaps provide an example script that I could modify and learn from?
Thanks very much for the time you've spent reading this post.
All the best,
M
I'm a new Syncovery user and was very much hoping somebody on this forum could help me out the following requirement:
- I have a single standard job that copies .csv files L-R.
- The right-hand side is a SharePoint document library - works as expected.
- Ideally I need to rename the .csv files on the right-hand side post copy, by removing the date stamp portion of the filename, regardless of the daily date stamp changes.
Filename Example:
FilenameA-11-05-2022.csv renamed to FilenameA.csv
FilenameB-11-05-2022.csv renamed to FilenameB.csv
FilenameC-11-05-2022.csv renamed to FilenameC.csv
Can this be achieved using Syncovery's Pascal scripting support and if so, would any kind souls out there be generous enough with their time to either guide me on the topic, or perhaps provide an example script that I could modify and learn from?
Thanks very much for the time you've spent reading this post.
All the best,
M