--=-7dkUPhO9eE0vbr9EIiOS Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2003-12-23 at 19:46, Bryce C wrote: > Could someone suggest either a project already doing this or an > effective way to do this? > I'm trying to setup a box such that when I insert a removable flash > medium in to the USB card reader, it will automatically mount it, copy > the contents (pictures preferably) and then unmount it. I've considered > running `find /dev/scsi/host0|grep part` every 5 seconds but that seems > like it'd take up quite a few resources, considering that's 17280 times > a day on a poor little K6 200Mhz with 32Mb of ram. No, not the worst but > not able to cope with that strain either. Thoughts? Ideas? In the case of camera/pictures, I don't think it unreasonable for the user to have to do a single click to start the process. That is what I am doing at home. Plugin camera and click an icon. It then mounts the device, moves the pictures to a burn queue (thus wiping the media clean). Then copies to a publishing cue and uses mogrify to resize them to a reasonable state. I then manually run igal and scp them to the web. I want to wook on a script that will, igal and scp them automagically as well as prompt the user to insert a CD-R to burn what is in the queue.=20 The end game is wife takes pictures and presses one button and gets them published to the web. :) --=20 Derek Neighbors GNU Enterprise http://www.gnuenterprise.org derek@gnue.org Was I helpful? Let others know: http://svcs.affero.net/rm.php?r=3Ddneighbo --=-7dkUPhO9eE0vbr9EIiOS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/6ZMwHb99+vQX/88RAv5WAJ4rLboYfssf1SRJ8ud8xTK+5MXGygCdEIR2 DSTSNQ+nFel12GfQ/rQnO5E= =WC+G -----END PGP SIGNATURE----- --=-7dkUPhO9eE0vbr9EIiOS--