On Thu, 19 Dec 2002 06:41:47 -0600 Steve Jeppesen <[EMAIL PROTECTED]> wrote:
> Thanks Todd, > > Sorry, I should have done a search on "getpix" - I would have found that > you have posted this info already. I will take some pics today and try > out your script tonight. > > p.s., I like the sound of mount /mnt/fuji too! LOL No problem. I just added the option to rename pictures using -n flag, so if you call it like "./getpix.sh -n birthday2002", pictures will be named birthday2002-001.jpg, birthday2002-002.jpg etc. Plus I cleaned up a couple of things. http://clevername.homeip.net/getpix Regarding the mounting, I read up on it and it seems that you have to use the long version (-t vfat . . . ) if you don't have an entry for the camera in/etc/fstab, but if you do have an entry in /etc/fstab, you don't need to use the long version. Todd > On Wed, 18 Dec 2002 23:00:50 -0500 > Todd Slater <[EMAIL PROTECTED]> wrote: > > > On Wed, 18 Dec 2002 21:03:11 -0600 > > Steve Jeppesen <[EMAIL PROTECTED]> wrote: > > > > > I have searched the archives and cannot locate who sent this script. > > > I have a question about the part of the script which mounts the > > > camera... > > > > > > CAM="/mnt/camera" # Mountpoint for your camera > > > (this used to read CAM="/mnt/fuji" I think) > > > > > > and later in the script it mounts the camera (i think) with > > > mount $CAM > > > > > > Is this correct? Seems like it is missing this; -t vfat /dev/sda1 > > > > Yes, it works for me; in /etc/fstab I have: > > /dev/sda1 /mnt/fuji vfat user,defaults 0 0 > > > > so I can mount the camera with "mount /mnt/fuji" (I really like the > > way that sounds, too). > > > > > Forgive me if I have over looked something. > > > > > > I am off to find out what JHEAD and ImageMagick do. > > > > JHEAD can extract the EXIF data, which I always like to use for > > renaming pictures. I like to rename by date, but I'm working out an > > option for people who might like to rename by event, like > > NewYear01.jpg, NewYear02.jpg . . . or something. > > > > ImageMagick resizes the images (if you use getpix with the -r option), > > and creates the "index" image (if you use the -c option). > > > > HTH, > > Todd > > > > > TIA > > > Steve
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com