You are not logged in.

#1 2010-07-22 22:07:35

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,602
Website

PTP camera - how to retain date/time stamp on photos [Gnome]

I have a USB PTP Camera that comes up in Nautilus under "gphoto2://[usb:001,007]/DCIM"  I can copy/paste the photos off the thing to ~ but the date/time stamp gets changed to the present.  How can I copy them over retaining the original date/time stamp?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2010-07-22 22:08:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: PTP camera - how to retain date/time stamp on photos [Gnome]

By using the exif info I suppose.

http://linux.die.net/man/1/exiv2
-t
    Set the file timestamp according to the Exif create timestamp in addition to renaming the file (overrides -k). This option is only used with the 'rename' action.

Last edited by karol (2010-07-22 22:13:26)

Offline

#3 2010-07-22 22:13:32

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,602
Website

Re: PTP camera - how to retain date/time stamp on photos [Gnome]

Has to be a way to copy over from a shell, no?  A "cp -a" will do it, I just have no idea how to access the mount point from a shell.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2010-07-22 22:15:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: PTP camera - how to retain date/time stamp on photos [Gnome]

gphoto2 looks like protocol, [usb:001,007] is the address and DCIM is the folder on your memory.

Edit: http://michaelminn.com/linux/mmptp/

If you can mount it using the info from e.g. dmesg, than 'cp -a' shouldn't be a problem.

Last edited by karol (2010-07-22 22:41:14)

Offline

Board footer

Powered by FluxBB