Rename

  • 16 Mar

    Rename a file when it is sent to the destination

    Q: We are trying to rename a file when it is sent to the destination. I am struggling to make this work.  I have renamed files in the past when they have an extension already however these files do not have an extension. For example we want to move file test (no ext) to a new folder and add .dat to the end so the file in the new folder is called test.dat

    A: The Destination has a File Rename option which uses Regular Expressions

    Please have a look at the following screenshot:

    RegEx:  (.*)

    Replacement:  \1.dat

    limagito file mover rename afile

     

    If you need any help with file renaming, please let us know.

    Best Regards,

    Limagito Team

    #managedfiletransfer #filetransfer #filemanagement

    By Limagito-Team Rename
  • 08 Sep

    How to change a filename during a move process

    Q: I need to change a filename during a move process and I don’t remember the steps.

    • Original File Name: CQCH_AZ_Fomulary_6133900_YYYYMMDDHHSS.txt
    • Final File Name: Formulary_613390_YYYYMMDDHHSS.txt
    Any help is very appreciated!
    A: Please open your Destination Setup :

    limagito file mover destination setup

    • File Rename Setup (Rename Tab):
      • RegEx:  (.*)_(.*)_(.*)
      • Replacement:   \3

    limagito file mover change a filename during

    If you need any help with this question, please let us know.

    Best Regards,

    Limagito Team

    #managedfiletransfer #filetransfer #filemanagement

    By Limagito-Team Rename
  • 16 Feb

    How to use parameters within the regex rename option

    How to use parameters within the regex rename option

    Q:  have a case where I’m getting several files from a folder. I’m getting the following files with my filter:

    20240212_P2.pdf

    20240213_P2.pdf

    Where 20240212 represents the date. I’m wanting the files output it to so they are consecutive pages on the same day:

    20240213_P1.pdf

    20240213_P2.pdf

    In my file rename in the destination, I know that I could do something like (20240212)_([A-Z]\d+).pdf in the regex so I can accurately match the file, but it would be really cool if I could use (%TCD:mmddyyyy)_([A-Z]\d+).pdf with the parameter being used as a literal to match on, but I know Limagito is not setup to do that. This is more of a feature request as it would make it really useful.

    Thanks for all you guys do!

    A: We added a new option in v2024.2.16.0 to allow this. This is an advanced option, so it is a bit ‘hidden’.

    • Schedule button > Advanced Tab > “Allow Params In RegEx Renaming”:

    parameters within the regex rename option

    • File rename example using parameters within the RegEx field:

    limagito file mover file renaming using regex

    If you need any help with this ‘parameters within the regex rename option’ question, please let us know.

    Best Regards,

    Limagito Team

    #managedfiletransfer #filetransfer #filemanagement

    By Limagito-Team Rename , ,
1 2 3 4
SEARCH