Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Using rsync to download photos from camera

From: Wayne Topa <linuxone(at)intergate.com>
Date: Mon Dec 31 2007 - 12:01:08 EST


T o n g(mlist4suntong@yahoo.com) is reported to have said:
> Hi,
>
> I've been using rsync for many years to synchronize between local
> directories or remote PCs. I've also successfully used rsync to synchronize
> photos from my Pentax Optio camera to PC, so that only the newly shot photos
> are copied.
>
> However, I found the very same approach doesn't work for the Canon camera:
>
> $ rsync -nvua /mnt/camera/dcim/*/* .
> building file list ... done
> [...]
> img_0135.jpg
> [...]
>
> $ stat /mnt/camera/dcim/100canon/img_0135.jpg img_0135.jpg
> File: `/mnt/camera/dcim/100canon/img_0135.jpg'
> Size: 892127 Blocks: 1792 IO Block: 32768 regular file
> Device: 811h/2065d Inode: 9817 Links: 1
> Access: (0664/-rw-rw-r--) Uid: ( 9999/ tong) Gid: ( 1001/ tong)
> Access: 2007-12-27 00:00:00.000000000 -0500
> Modify: 2007-12-27 14:27:10.000000000 -0500
> Change: 2007-12-27 14:27:10.000000000 -0500
> File: `img_0135.jpg'
> Size: 885981 Blocks: 1737 IO Block: 131072 regular file
> Device: 80eh/2062d Inode: 166857 Links: 1
> Access: (0664/-rw-rw-r--) Uid: ( 9999/ tong) Gid: ( 1001/ tong)
> Access: 2007-12-27 14:27:10.000000000 -0500
> Modify: 2007-12-27 14:27:10.000000000 -0500
> Change: 2007-12-27 21:53:41.000000000 -0500
>
> I.e., rsync insists to copy again files that have already been copied,
> although I see no obvious reason why it is doing so.
>
> Please comment.

I use rsync, much like you do, to copy .debs to 4 other boxes. I only use it like below, and only transfer the newer .deb files.

rsync --ignore-existing *.deb

:-) HTH, YMMV, HAND :-) Wayne

-- 
What boots up must come down.
_______________________________________________________


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Mon Dec 31 12:08:29 2007

This archive was generated by hypermail 2.1.8 : Fri Feb 29 2008 - 13:13:25 EST


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library