Post

Replies

Boosts

Views

Activity

File type and size checking?
I am trying to figure out how to write an AppleScript that will head to a directory, determine if a file with a certain extension exists, and if it does exist, if the file size is greater than a certain size. And run that check every so often. Hung up on how to look at all files in a certain folder, look for that extension and then see if the file size is past my threshold. Ideas? Not too good with AppleScript.
2
0
627
May ’23