Diff for scripts/shell/photo-managment/foto-copy between version 1.2 and 1.3
| version 1.2, 2009/01/11 16:19:49 |
version 1.3, 2009/01/12 23:17:07 |
|
|
| # 2006-08-14 - enhanced - images are auto-rotated - Exif tag Exif.Image.Orientation is used |
# 2006-08-14 - enhanced - images are auto-rotated - Exif tag Exif.Image.Orientation is used |
| # |
# |
| |
|
| # $Platon: scripts/shell/photo-managment/foto-copy,v 1.1 2006-10-02 00:28:11 rajo Exp $ |
# $Platon: scripts/shell/photo-managment/foto-copy,v 1.2 2009-01-11 16:19:49 rajo Exp $ |
| |
|
| # where to mount you memory card - configure in /etc/fstab something like this: |
# where to mount you memory card - configure in /etc/fstab something like this: |
| # /dev/sdb1 /foto vfat iocharset=iso8859-2,umask=002,codepage=852,showexec,users,gid=users,noauto,nodev,nosuid,quiet 0 0 |
# /dev/sdb1 /foto vfat iocharset=iso8859-2,umask=002,codepage=852,showexec,users,gid=users,noauto,nodev,nosuid,quiet 0 0 |
| Line 190 for i in *.crw *.cr2; do # {{{ |
|
| Line 190 for i in *.crw *.cr2; do # {{{ |
|
| rm -f $file.cmd |
rm -f $file.cmd |
| |
|
| if [ -d "$DEST/raw" ]; then |
if [ -d "$DEST/raw" ]; then |
| echo "Moving $file.crw $file.thm to $DEST/raw" |
echo "Moving $i $file.thm to $DEST/raw" |
| mv $file.crw $file.thm $DEST/raw/ && $JHEAD $JHEAD_OPTS $file.jpg |
mv $i $file.thm $DEST/raw/ && $JHEAD $JHEAD_OPTS $file.jpg |
| ln -s $DEST/raw/$file.thm $DEST/raw/$file-thumb.jpg |
ln -s $DEST/raw/$file.thm $DEST/raw/$file-thumb.jpg |
| fi |
fi |
| done # }}} |
done # }}} |
Platon Group <platon@platon.org> http://platon.org/
|
|