On 01/01/09 22:27, Daniel Cliff wrote:
On Fri, Jan 2, 2009 at 1:27 AM, Ron Johnson <ron.l.john...@cox.net> wrote:
_ delete the pictures in the camera after successful file transfer (I
guess most people normally do that in order to take new pictures,
right?),
mv? cut-n-paste?
BTW, this is sth I always wanted to know ever since I got my camera:
Does anyone know how digital cameras store pictures? When I mount the
camera, I see the pictures are inside a directory, which in turn is
inside another directory. I've always been reluctant to mv the
pictures from the camera to a local folder, because I thought that
$ mv /media/DSC-S730/${mumble}/*jpg /some/target/dir
might mess things up with the camera. I know I may sound naive, but
perhaps there are caveats to take into account.
Does the camera disregard directories?
No. There's a FAT file system in there.
Can you rename files in the camera's memory?
I wouldn't.
Can you rename folders in the camera's memory?
Ditto.
Any caveats?
Don't touch the folder system, just the picture files.
_ rename the files according to some pattern (eg 20090101_001.jpg,
20090101_002.jpg etc)
jhead -n%Y%m%d-%H%M%S *.jpg
I definitely loved this one!
I make an alias defined in /etc/bash_aliases :
alias renpics='jhead -n%Y%m%d-%H%M%S *.jpg'
--
Ron Johnson, Jr.
Jefferson LA USA
I like my women like I like my coffee - purchased at above-market
rates from eco-friendly organic farming cooperatives in Latin America.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org