Rename

  • 29 Dec

    Rename file before processing it to the destination folder

    Rename file before processing it to the destination folder

    Q: Good day. Requesting your assistance on the below scenario. We need to rename the filename once the file is moved to the destination folder.

    Original filename from the source is SOHF_JC_231012.csv. We need it to rename to SOHF_JCAQ_231012.csv.

    May we know if this is possible in Limagito?

    A: Yes this is possible.

    Open the Destination setup > switch to Rename Tab > Enable “Rename Files during Copy/Move” option  and use the following setup:
    RegEx:   (.*)_(.*)_(.*)
    Replacement:    \1_\2AQ_\3

    limagito file mover rename file before processing

    #rename #managedfiletransfer #filetransfer #filemanagement

    If you need any help with this ‘Rename file before processing’ question, please let us know.

    Best Regards,

    Limagito Team

    By Limagito-Team Rename
  • 19 Nov

    How to rename a file to include day of the week

    How to rename a file to include day of the week

    Q: I found this in your blog but my filename pattern is different and I don’t know enough of the Pascal language to edit it.

    Here is an example of what I would like to rename.

    Original Filename: 2023-10-24_section_A2.pdf
    (2023-10-24 = October 24, 2023)
    Rename To:  Tues_2023-10-24_section_A2.pdf

    Any help you can provide would be greatly appreciated.

    A: Please have a look at the following example, I guess we need to fine-tune it. Let us know what you think.

    • We used a Windows folder as source:

    limagito file mover windows folder as source

    • Next, open our Pascal Script option:

    limagito file mover paascal script option

    • Enable and add the following ‘On Destination’ Pascal Script:

    You can download the script: here

    limagito file mover include day of the week pascal script

    • We used a Windows Folder as Destination:

    limagito file mover windows folder as destination

    •  Enable ‘Rename Files during Copy/Move’

    limagito file mover file renaming option

    • Renaming Setup:

    RegEx:   (.*)
    Replacement:   %VSA

    limagito file mover file renaming setup

    • RunTime Log Result:

    limagito file mover runtime log result

    #managedfiletransfer #filetransfer #filemanagement

    If you need any help with this ‘include day of the week’ request, please let us know.

    Best Regards,

    Limagito Team

  • 15 Sep

    How to rename a file keeping the last 7 characters intact

    How to rename a file keeping the last 7 characters intact

    Q: I need assistance to set up a move rule and rename the file to the destination. The file name needs to keep the last 7 characters intact before the file extension name. For example if the original file name is “Aspect Windows Pty Ltd_398x272_1531309.pdf” – we need it renamed to “1531309.pdf” before it is moved to the destination directory. Any idea how I can set this up please?

    A: This is possible using our Destination file renaming option

    Please enable and setup  ‘Rename Files during Copy/Move’ in your Destination setup:
    RegEx:  (.*)(.{7})\.(.*)
    Replacement:   \2.\3

    rename a file keeping

    Information about how to use regular expressions can be found here.

    If you need any info about this request, please let us know.

    #filetransfer #filemanagement

    Best regards,

    Limagito Team

    By Limagito-Team Rename ,
SEARCH