exclude

  • 03 Sep

    How to exclude files if the date falls on a Sunday or Monday

    How to exclude files if the date falls on a Sunday or Monday

    Q: I have a task where I’m using change notify to check when a new folder is added. I’m filtering the folder by using %TCD:mmdd:, but the problem is I want to exclude the folders if the date falls on a Sunday or Monday. Is there a filter that would allow me to do that?

    A: This is possible using our Pascal Script option.

    • Open our Pascal Script setup:

    limagito file mover pascal script option

    • Please enable and add the following ‘On RuleBegin’ Pascal Script:
    Begin
      psExitCode:= 1;
      // ... add your code here
      IF DayOfTheWeek(Now) in [1,7] Then
        psExitCode := 0;
     
      (*
      The DayOfTheWeek function returns an index number for the day of the week :
      1         = Monday
      2         = Tuesday
      3         = Wednesday
      4         = Thursday
      5         = Friday
      6         = Saturday
      7         = Sunday
      *)    
    End.

    limagito file mover exclude files if the date

    If you need any help with this ‘exclude files if the date’ request, please let us know.

    Best Regards,

    Limagito Team

    #managedfiletransfer #filetransfer #filemanagement

  • 04 Apr

    Exclude some subfolders and the subfolders of the excluded subfolder

    Q: Exclude subfolders and the subfolders of the excluded subfolder. I’m connecting to a FTP site, looking through the folders for any files older than 28 days but I want to exclude some sub-folders and the sub-folders of the excluded folder.

    My current ‘Directory Filter’ setup doesn’t seem to work:

    Limagito File Mover Directory Filter Setup

    My current ‘Dir Name’ Exclude filter:

    Limagito File Mover Directory name exclude filter

    I also changed the Directory Filter Setup – Advanced – Exclude Complete Invalid SubDirs hoping it would skip the sub folders of the GRAPHICS PURGE folder.

    Limagito Team: “Reason, SubDir Search Mode (WIN) is for WIN as source only”

    Limagito File Mover Directory Filter setup

    But in the log file we see the ‘GRAPHICS PURGE’ folder and its subfolder BUL are not being excluded.

     

    Limagito Team:

    It is possible to achieve this but you’ll need to add some extra ‘Dir Name Exclude’ Filters, leave the ones you already had.

    GRAPHICS PURGE
    */GRAPHICS PURGE/*
    Ads
    */Ads/*
    PDF
    */PDF/*

    Limagito File Mover Directory name exclude filter setup

    #FileTransfer

    If you need any help with this ‘Exclude some subfolders’ request, please let us know.

    Best Regards,

    Limagito Team

    By Limagito-Team Filters ,
  • 16 May

    Q&A 11: Remove info from the RunTime log in LimagitoX File Mover

    Q: For every folder in the source We have a line in the RunTime log at every run saying “adjusting destination path to ” the same folder in one of the 2 destinations, can I remove it?

    A: Yes, this is possible using the ‘Log Exclude Filter’ option.

    1.- Open Logging Setup

    LimagitoX-Logging-Setup

    Please use the ‘Log Exclude Filter’. You can add multiple exclude filter using a semicolon ;

    The Log Exclude Filter is availabe for all other logging options like ‘History Log’, ‘Database Log’, ..

    LimagitoX-Logging-RunTime-LogExclude

    If you need help with the ‘Log Exclude Filter’ please let us know.

    Regards,

    Limagito Team

    By Limagito-Team Q&A , ,
SEARCH