Your best friend for file transfer.

Fetch application logoFetch

globbing with Fetch? (4 posts)

  • Started 14 years ago by Doug
  • Latest reply 14 years ago from Scott McGuire
  • Doug Member

    I use Fetch with Automator to schedule regular downloads of a set of files. Very nice, and I'd like to expand this. But what I'd really like to do is to schedule downloads for file1, file2, file3, file4, etc. etc. Ideally, I would do this by having Automator pass to Fetch a command to get file*, or something like that. But that doesn't seem to work if I just put file* in "Get Specified Fetch Items"

    Is there a straightforward way to do this globbing?

    Sure, I could just put all those files in a folder, and just download the folder, but those files don't belong in a single folder.

    Posted 14 years ago #

  • Scott McGuire Administrator

    Hi Doug,

    We're glad you find the Automator features of Fetch useful.

    Have you looked into the Fetch Filter Items action?

    You could use the Get Specified Fetch Items to get the parent folder that contains all the files you want to download (it doesn't matter if they're in separate subfolders of that folder), follow it with a Get Fetch Folder Contents action (checking the "repeat for each subfolder found" checkbox if necessary), and then have a Filter Fetch Items action set to "whose Name beings with" and the prefix of the files you want to download. Then pass the output of that to the Download Fetch Items action.

    Would that do what you want, or have I misunderstood?

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 14 years ago #

  • Doug Member

    Just perfect. Works great. Many thanks!

    I need to study the Automator options for Fetch a bit more. I now understand that Get Fetch Folder Contents is just what Fetch finds when it connects to the server. The Fetch Folder is that list of files and folders. That wasn't really clear before. An "Aha!" moment.

    Posted 14 years ago #

  • Scott McGuire Administrator

    Hi Doug,

    You're welcome!

    Let us know if you have any further questions.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 14 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.