File Mover Blog

  • 13 Jul

    How to convert images to pdf files

    How to convert images to pdf files

    Convertings images to pdf (or to another image format) is achieved using our file renaming option in the Image destination setup. The file mover engine knows what to do because it knows the file extension from the source and destination file.

    A good idea is start with the following blog article: Converting images to pdf with limagito file mover

    We received the following question from a customer:

    I follow your step about image to pdf process and it works prefectly. I m curious about how to resize the photo as smeller one or compress the PDF in a smaller file in the result.

    In version v2025.7.13.0 we added a “IO Parameters PDF” option:

    In our example we added the following three actions:

    • IO Parameters PDF > adjust PDF compression (an other options)
    • IO Parameters > adjust JPEG compression parameters
    • Output to File

    limagito file mover image as destination option

    • IO Params PDF
      • Compression: adjusted the compression to JPEG instead of uncompressed
      • Paper Layout:
        • Portrait (default)
        • Landscape
      • Paper Size:
        • A0, A1, A2, A3, A4, A5, A6, B5
        • Letter, Legal, Ledger, Tabloid
        • Auto
          • If selected then the output will be the size of the image which may create huge PDF pages
        • Custom
          • Will use Paper Height and Width value
          • Specifies the height and width of the output in Adobe PDF points (1 point = 1/72 of inch). Default values are width: 595 and height: 842 (A4 format).
      • Page Margin
        • Specifies the size of margins (blank area) on all sides of the output when saving to PDF.
        • Value is in Adobe PDF points (1 point = 1/72 of inch), e.g. 72 would be 1 inch margins.
      • Image Options, by default all images are scaled and not centered
        • Shrink Only: If not specified, all images will be made to fill the entire output. If specified, only large images are shrunk. Small images are not enlarged
        • Centered: Specifies that the image will be centered within the output

    limagito file mover images to pdf files

    • IO Params
      • We adjusted the JPEG Quality factor to 90%

    limagito file mover pdf as destination setup

    • Output to File:
      • Adjusted output directory:

    limagito file mover pdf as destination setup

    • The image conversion is done using the File Rename option. Adjusting the destination file extension is the trigger we need to do the conversion. In this case we are converting all source files to pdf but othe destination image types are possible.

    limagito file mover images to pdf files

    If you need any help with this “images to pdf files” option, please let us know. Also if you need any specific image to convert or extra option let us know.

    Best Regards,

    Limagito Team

    #PDF #managedfiletransfer #filetransfer #filemanagement

  • 10 Jul

    How to rename files and add the folder name on each file

    How to rename files and add the folder name on each file?

    Q: I was wondering if you could help me.

    I did do quite a bit of searching over the last few days trying to find a solution, and just couldn’t get it worked out.

    I have a lot of folders with PDFs in them.

    The folders are named:
    01-01-2025
    01-02-2025

    and so forth. Each folder has a number of PDFs in them, named as:

    A1.pdf
    A2.pdf
    A3.pdf
    A10.pdf

    and so forth. Each folder has a number of PDFs and they are all identically named, as in letter number.pdf.

    Can you help me get a set up where, if I drop a folder in a source folder, Limagito processes the and puts the folder name on each file, as in

    20250102_A_0001.pdf
    20250102_A_0002.pdf

    and

    20250102_B_0001.pdf

    and

    20250102_A_0010.pdf
    20250102_A_0011.pdf

    and so forth. This would be a move, with the files going into a folder with the same name as the original, if possible.

    This would be really huge if you could help me. I probably have 15 years of folders that need to be processed, for about 20 publications.

    We are trying to send a lot of archives to newspapers.com, and this is the naming convention they prefer.

    If there is anything else you need from me please let me know. Thank you in advance for any help.

    A: Yes this is possible using our Destination file rename option:

    • Windows Folder as Source. Root folder in our case is C:\Test\In_PDF\

    limagito file mover windows folder as source

    • File Filter setup, we only want to handle pdf files in our example:

    limagito file mover filename include filter

    • Directory Filter setup: we only want to handle files within subdirectories one level deep:

    limagito file mover directory filter setup

    • Move Files, during the test we used Copy Files:

     

    limagito file mover function setup

    • Windows folder as Destination:

    limagito file mover destination setup

    • Destination Rename Files:

    limagito file mover file rename setup

    • Rename Files Setup:

    limagito file mover file rename setup

    (.)(\d\d\d\d)\.(.*)
    %SFS:7-10:%SFS:1-2:%SFS:4-5:_\1_\2.\3
    CEM
    (.)(\d\d\d)\.(.*)
    %SFS:7-10:%SFS:1-2:%SFS:4-5:_\1_0\2.\3
    CEM
    (.)(\d\d)\.(.*)
    %SFS:7-10:%SFS:1-2:%SFS:4-5:_\1_00\2.\3
    CEM
    (.)(\d)\.(.*)
    %SFS:7-10:%SFS:1-2:%SFS:4-5:_\1_000\2.\3
    CEM

     

    • RunTime Log Result:

    limagito file mover runtime log

    • Source folders used during this test:

    limagito file mover folder name on each file

    limagito file mover folder name on each file

    limagito file mover folder name on each file

    Feedback from customer:

    OMG… thank you so much. You guys are awesome.
    I’ve tested it and it works perfectly.
    I think this will probably help me with some other files that have single and double digit page numbers.
    You have my deepest appreciation.

    If you need any help with this ‘folder name on each file’ question, please let us know.

    Best Regards,

    Limagito Team

    #regex #managedfiletransfer #filetransfer #filemanagement

    By Limagito-Team Rename
  • 06 Jul

    Variable for Rule ID in Limagito File Mover

    Variable for Rule ID in Limagito File Mover
    Q: We are running a ‘On Event’ command  to log to our database: sqlcmd -S gp-db4 -d  etc….
    I see there is a variable for Rule name, %RRN but can not see one for the Rule ID.
    limagito file mover Variable for Rule ID
    Why this is important is the Rule name will change and need to use the RuleID as a key. Is this possible?

    A: In version v2025.6.20.0 we added a new Variable:

    Parameters, Added %RRI = Rule, Rule ID

    Customer: That was the ticket!

    CMD /C sqlcmd -S gp-db4.??????.com -d xyzman -U LIMAGITO_STATUS -P <PWD> -Q “EXEC [dbo].[Limagito_OnSuccess] @Server=’%COMPUTERNAME%’, @RuleId=’%RRI'”

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

    Best Regards,

    Limagito Team

    #managedfiletransfer #filetransfer #filemanagement

    By Limagito-Team Parameters ,
1 2 3 4 156
SEARCH