Announcement

Collapse
No announcement yet.

Search for files, Multiple find & Choosing one based on date.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Lorne
    replied
    Re: Search for files, Multiple find & Choosing one based on date.

    You could use a batch file and pipe the output from, say, the DIR command to a text file, and then parse that text file using SF actions to find the modified date information. Then you might have to convert that date into a format that you can compare easily. (Depends on what settings the DIR command supports to format the file dates.)

    It would take a bit of effort, but the end result would (probably [img]/ubbthreads/images/icons/smile.gif[/img]) work.

    Leave a comment:


  • Darryl
    replied
    Re: Search for files, Multiple find & Choosing one based on date.

    When you do the file search you will end up with a string delimited list of paths which could then be searched through for the correct file, so that's not a problem.

    There is currently no action available in Setup Factory to get the date of a file, so that's the problem. I'm not aware of any methods that could be used to gather this information. Is there any other information that can be used to determine the target file? Maybe someone else has an idea?

    Leave a comment:


  • Search for files, Multiple find & Choosing one based on date.

    I have a need to search for a file in a directory & below. I may find 1 or I may find 5 or more...
    I need to end up with the file name (& path) of the most recently modified file...

    How best can I handle that?
Working...
X
😀
🥰
🤢
😎
😡
👍
👎