Quote (mikshaw @ May 16 2007,14:51) |
I don't see any reason to put it on a cron job, since it would probably consume more resources that way. The script sleeps for 10 seconds between each run anyway, so it's essentially the same result from running fewer processes. |
Quote (beakmyn @ May 16 2007,08:46) |
So, I'm looking into ways to make my digital picture frame 'parent' friendly. I'd like to ultimately have it so that "mom or dad" could take the memory card out of their camera and plug it into a USB SD adapter and DSL would magically mount the device, search it for jpegs and copy those jpegs to a pre-defined directory. So far I know I probably need something like automount or similar and a some way for automount to call a script that copies the files off the drive to my picture drive. There is something for that other OS http://www.dps.uk.com/freeware_transferer.htm in case you can't figure out what I'm trying to do. My version will not have a gui. Since the copy operation would be in a script I could add aplay to play a "Files copied" wav to indicate the copy process was finished or maybe kill feh and start it back up pointing to a "finished" jpeg then timeout after 5 seconds. But, that's all bells and whistles right now I'm trying to iron out the automgacial mount, copy, unmount part. So is my idea far fetched or is there something that already does this that I can wedge into DSL? |