delete

  • 16 May

    Q&A 10: Can we remove empty directories in LimagitoX File Mover

    Q: Can we create a rule which will remove empty directories once a week, not every scan?
    A: Yes this is possible. Let’s start with a new rule. Source will be the Windows folder you want to scan. Trigger it once a week and add a dummy Pascal Script as destination. Some screenshots to get you started.

    1.- Setup the Schedule.

    Disable the Scan Timers because we are going to use the Scheduler option instead.

    LimagitoX-Schedule-Disable-Scan-Timers

    Swith from Timer to Scheduler Tab and <Add> a Schedule. Change the setup of this schedule to once a week and <Save>.

    LimagitoX-Remove-Empty-Directories-Schedule

    2.- Set the File PreFix Filter to something impossible so it will never pickup files:

    LimagitoX-File-Prefix-Filter-Setup

    3.- Directory Filter Setup, enable ‘Include Subdirectories’ and ‘Delete Empty Subdirectories On Scan’:

    LimagitoX-Dir-Filter-Delete-Empty-Folders

    4.- Add a Dummy ‘Pascal Script’ as Destination:

    LimagitoX-Destination-Pascal-Script

    If you need help with ‘remove empty directories ‘, please let us know.

    Regards,

    Limagito Team

    By Limagito-Team Q&A , , ,
  • 07 May

    Q&A 8: Delete old files without deleting folders in Limagitox File Mover

    Q: I’m setting up a new rule to delete old files in a folder tree.  Easy to filter for files of a certain age (10 days old), but I’m concerned that folders would end up being deleted too.  Don’t see a way to tell the program not to touch the folders.

    A: As default we do not not delete folders. Only when you tell us to delete empty folders so be sure to disable the red marked option.

    Dir Filter Setup: be sure ‘Delete Empty Subdirectories’ is unchecked.

    LimagitoX-Delete-Empty-Folders

     

    If you need help, please let us know.

    Regards,

    Limagito Team

    By Limagito-Team Q&A ,
  • 01 May

    How-To Delete old records from the Logging Database

    Dear users,

    Version v2019.5.1.0

    We got a request to delete old records from the File Mover Logging Database. We added ‘Qry Type’ as option to the existing ‘SQL as Source’ to achieve this.

    • Add SQL as Source

    • Set Database Vendor to ‘Use MSSQL Database’

    • Set the MSSQL Server settings of the Logging Database

    • Set Qry Type option to ‘Qry will NOT return data’. Adjust the amount of days you want to keep. At the example below it is set to delete records older than 100 days (adjust the -100 part).

    • Add a ‘dummy’ Pascal Script’ as Destination

    • Set a schedule so trigger this Rule

     

    Best regards,

    Limagito Team

    By Limagito-Team Logging , , , ,
SEARCH