delete

  • 30 May

    Q&A 13: is it possible to retry a file delete if it fails in LimagitoX File Mover

    Q: Is it possible to automatically retry a file delete if it fails

    A: Yes this is possible since version v2020.5.30.0

    Select ‘Function Setup’ >> Common Tab

    Here you’ll find ‘Retries after failure’ and ‘Seconds between each retry’. In the screenshot below we’ll try 3 times and will wait 5 seconds between each retry.

    LimagitoX Retry File Delete option

    As long as the source file is locked it will retry. If it is unlocked within the retries it will not give an error.

    LimagitoX File Delete Retry RunTime Log succes

    If the file is still locked after all the retries then it will give an error + information why it couldn’t delete the file.

    LimagitoX File Delete Retry RunTime Log error

    In version v2020.6.1.0 we added the ‘On Error Event & On Error Execute Command’ if a Delete after Move fails.

    If you need help with the ‘retry a file delete’, please let us know.

    Regards,

    Limagito Team

    By Limagito Q&A , ,
  • 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

  • 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 Q&A ,
1 2