parameters

  • 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 , ,
  • 07 Jan

    Replacement Parameter File Created Date for Source File

    Replacement Parameter File Created Date for Source File

    Q: I see options in the Replacement Parameters for the Source, File Modified Date but I would also like the option for the Source, File Created Date. Is that something that can be added?

    limagito file mover parameters

    A: We added this option in version v2024.1.7.0

    • Parameters, Added %SFA Source File last Acces time
    • Parameters, Added %SFB Source File Birth (= creation) time

    As a test we added the new parameters in our WIN as Destination setup. These new parameters will be used to create a subdirectory:

    Reminder: What are the Date & Time parameters that we can use?

    limagito file mover Replacement Parameter File Created Date

    • RunTime Log Result:

    limagito file mover runtime log result

    • Output Result:

    limagito file mover Replacement Parameter File Created Date output

    • We also added some extra Pascal Script DateTime var linked to Source File Last Access, Creation and Modified Times:
      • psFileADateTime variable = Last Access Time
      • psFileCDateTime variable = Creation Time
      • psFileMDateTime variable = Modfied Time

    An example of using these new Var in our Pascal Script as Destination option:

    limagito file mover pascal script as destination

    #managedfiletransfer #filetransfer #filemanagement

    If you need any help with this ‘Replacement Parameter File Created Date’ question, please let us know.

    Best Regards,

    Limagito Team

  • 29 Dec

    Q&A 35: What are the Date & Time parameters that we can use?

    Q: What are the Date & Time parameters that we can use?

    A:

    https://limagito.com/w-or-ww-datetime-week-parameter-v10-6-27-0/

    https://limagito.com/weekoftheyear-w-or-ww-parameter/

     

    If you need any help with our ‘Date & Time parameters’, please let us know.

    Best Regards,

    Limagito Team

    By Limagito-Team Q&A , ,
1 2
SEARCH