LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Process unprocessed (pattern)

    Employee
    Posted 10-27-2015 02:14

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Texnoti

    Hi!

    I'm using a Directory list to gather files.
    As a pattern I use "*".

    But now I process the files already processed.
    So with moveFile I prefix processed files with X.

    Now I need a pattern to exclude files that start with X.

    Thanks in advance.
    Thomas


  • 2.  RE: Process unprocessed (pattern)

    Employee
    Posted 10-27-2015 06:37

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Texnoti

    Appended "R" to the filename (for READ) and then removed the R (well - all R's...) so I can write R* in pattern for Directory list.


  • 3.  RE: Process unprocessed (pattern)

    Employee
    Posted 10-27-2015 06:47

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ryeh

    I'll often use a Split Node on the output of the Directory Node:

    node:Split
    bretype:core::Split
    editor:sortkey=562f809247cc0548
    input:@40fd2c74167f1ca2/=Directory_List.40fd2c747c2b1c0a
    output:@40fd2c7420761db6/=
    output:@456df11556bd6bcf/=
    prop:PredicateExpr=<<EOX
    FileName.left(1) == "X"
    EOX
    editor:XY=340,330
    end:Split

    node:Directory_List
    bretype:core::Directory List
    editor:sortkey=562f80ba5f9d28b1
    output:@40fd2c747c2b1c0a/=
    prop:DirectoryName=C:\Users\ryeh\Desktop\
    prop:Pattern=*.*
    editor:XY=200,330
    end:Directory_List