I want a shell script that runs on a Mac, that when ran, looks for a few things and transfers video files to a specific location on another drive.
So when I put in an SD card, I want the script to autorun, look for files under 300 MB, leave those on the disk, rename the files over 300 MB from "file0001.MOV" to the current date with a number after them.
SO if I have a disk at the time of this post with this shell script on it, insert the disk into the computer with files:
file001.MOV (30 MB)
file002.MOV (500 MB)
file003.MOV (480 MB)
It automatically renames file002.MOV to 20140413-1.MOV and file003.MOV to 20140413-2.MOV and transfers them to D: (or whatever drive I want).