I've tried using samples I've found here and other places but can't get this to work exactly as I'd like (as I know nothing about shell scripting).
What I want to do is copy the filename of files downloaded to the Downloads folder (on a different computer) along with the date and time added to a text file, with newest entries added at the top. So for example Download Files.txt would have following contents:
2013-08-19 10:25:11 AM
Archive 01.dmg
------------------------—--
2013-08-18 7:32:23 PM
app_update.pkg
------------------------—--
2013-08-17 8:56:42 AM
Wallpapers.zip
------------------------—--
The folder containing the note syncs in Dropbox, so would enable me to see what's been downloaded on a certain computer from my phone, a different computer etc.
Any help would be greatly appreciated.