Selecting & copying random files in folder

Joined
Oct 31, 2013
Messages
1
Reaction score
0
Hi all,

I use AppleTV Screensaver to show photos on my TV. AppleTV is pointed to a folder of photos on the LAN and then it plays them in a random order. Unfortunately if there are more than 200 photos in the folder, it always picks the same ones.

My idea is to clear the folder down each day and use automator to select 200 photos at random from my main photo folder ("Folder A") and copy the files to the folder that AppleTV is pointed to ("Folder B"). I will also put the AppleTV on a timer socket (the type you use to turn lights on at dawn) which means that when it powers off and back on, it will be forced to rescan Folder B and voila, find a new set of 200 photos.

Unfortunately I know nothing about Automator or Apple Script, although I'm willing to try and learn!

Any ideas how I can set up a scheduled task to achieve the following:

1) Delete all files in Folder B
2) Select 200 files from Folder A and copy them to Folder B


Thanks
Tim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top