I know that this is not a solution, but maybe this can help to some of you.
I found a script to set the modified date using the EXIF data from videos and 
pics.
http://unix.stackexchange.com/questions/89264/change-created-date-from-exif-data

I made some changes to the script (the original one didn't work for me).

First install this package: libimage-exiftool-perl
sudo apt install libimage-exiftool-perl

Then create a script with this code (don't forget to set executable
permissions):

#!/bin/sh
for i in /path/to/folder/with/pics/*; do
    SPEC=`exiftool -t -S -d "%Y-%m-%d %H:%M:%S" -CreateDate "$i"`
    echo $SPEC
    echo "$i:$DATE"
    touch -d "$SPEC" "$i"
done

This will change all the modified dates from all files on
/path/to/folder/with/pics/ with the one on the EXIF metadata
information.

This is not a workaround, thi is just a fix for some kind of files.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/1175947

Title:
  gvfs-copy --preserve doesn't work with MTP devices

Status in “gvfs” package in Ubuntu:
  Confirmed

Bug description:
  Hi,

  When using gvfs-copy --preserve from a MTP device to local, the
  timestamp is not preserved.

  touch "localfile" --reference="MTP file" works ok. 
  I assume --preserve is not working. 

  gvfs 1.16.1-0ubuntu1
  Ubuntu 13.04

  Regards.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1175947/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to