Your best friend for file transfer.

Fetch application logoFetch

Applescript File List (3 posts)

  • Started 2 years ago by Lenny Eiger
  • Latest reply 2 years ago from Lenny Eiger
  • Lenny Eiger Member

    We are using Fetch to add files to a backup server. All files from a previous month get deleted. I need to grab a file list from the transfer window, repeat thru them and figure out the date created stuff, and delete some subset of files...

    Can someone let me know the syntax for getting a file list from the transfer window?

    TIA

    Lenny

    Posted 2 years ago #

  • Jim Matthews Administrator

    Hi,

    This will give you the names of all the items in the file list of the front window:

    tell application "Fetch"
    set itemNames to name of every remote item of transfer window 1
    end tell

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 2 years ago #

  • Lenny Eiger Member

    Jim, Thanks, that's what I needed. Lenny

    Posted 2 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.