Q&A

  • 07 Jul

    Q&A 19: Backup 2 Files but Only Copy 1 to Destination

    Q: Backup 2 Files but Only Copy 1 to Destination.

    I need to set up a job that

    1. moves 2 files of different extensions off of a source
    2. Backup both files
    3. Only send 1 file to the destination.

    The 2 files from the source will be like ‘Filename.rec’ and ‘Filename.snd’. I want both backed up, but only want ‘Filename.snd’ to be sent to the destination. Is that possible?

    A: Yes that is possible using some Pascal Script.

    First you need to add a filename include filter to only filter the files you want (*.snd and *.rec files):

    LimagitoX File Mover Include Filename Filter

    Add two destinations. Really important:

    1. First destination (ID1) must be your Backup destination
    2. Second destination (ID2) must the output destination.

    LimagitoX File Mover Destinations

    Add the following ‘On Destinations‘ Pascal Script:
    LimagitoX File Mover Pascal Script Menu Item
    Begin
      psExitCode:= 1;
      // ... add your code here
      If SameText(psDestinationID, 'ID2') then
        If Not SameText(ExtractFileExt(psFilename), '.snd') then
          psExitCode := -1;
    End.
    LimagitoX File Mover On Destinations Pascal Script
    If you need any help , please let us know.
    Regards,
    Limagito Team
    By Limagito-Team Q&A
  • 25 Jun

    Q&A 18: Is there a way to change the destination based on day of week

    Q: Is there a way to change the destination based on day of week? I have a rule that moves a backup to destination daily. Would like to use same rule to move Mondays backup to a Weekly backup folder.

    A: Yes this is possible using the Destination ‘Create Subdirectory’ option. Please check the File & Directory tab.

    First Example:

    LimagitoX File Mover Day of Week example 1

    Second Example

    LimagitoX File Mover Day of Week example 2

    You can use combinations of parameters or combinations of fixed text and parameters.

     

    If you need any help , please let us know.

    Best Regards,

    Limagito Team

     

     

    By Limagito-Team Q&A
  • 23 Jun

    Q&A 17: Is it possible to move files and create a folder with limagitoX

    Q: Is it possible to move files and create a folder by partial files name by limagitoX.

    For example: in folder A, we have files which are named as XXX-TC.txt, XXX-KR.txt, XXX-JP.txt, XXX-SC.txt and we want to move those files to XXX folder? I want to use “-” as a parameters to defile the folder name.

    A: Yes this is possible using a combination of two options in your destination setup.

    First, in the ‘File & Directory Tab’ of your destination setup, enable ‘Create Subdir’ option and set it to:  %SFN

    We will use the filename as a base part when creating the subdirectory in the second step.

    LimagitoX File Mover Create Folder

    Secondly, enable ‘Rename Destination Subdirectory’ (Rename Tab) and click <Rename Filter Setup>.

    LimagitoX File Mover Enable Rename Directory

    Directory Rename Setup:

    Add a new line and set

    • RegEx:  (.*?)-(.*)
    • Replacement:  \1

    LimagitoX File Mover Directory Renaming Setup

    If you need any help , please let us know.

    Best Regards,

    Limagito Team

    By Limagito-Team Q&A
1 6 7 8 9 10 11 12 17
SEARCH