Comment 2 for bug 1642027

Revision history for this message
Ari (ari-reads) wrote : Re: Support for renaming photos + sidecar / xmp files

I installed 0.9a5, looks great, thanks!!

Tested it: it renames the pictures and videos but it ignores the xmp "sidecar" files in the source directory, so it doesn't really address the problem.

I checked the man pages and can't find any command line switch to activate "renaming sidecar files" or anything similar.

Here's a typical directory content that Darktable produces (note that in this case I was shooting JPEG and not NEF)

DSC_0001.JPG.xmp
DSC_0001.JPG
DSC_0002.JPG.xmp
DSC_0002.JPG

Here's RPD's 0.9a5 output:

20141208-145133-WeddingFotoman-0001.jpg
20141208-145158-WeddingFotoman-0002.jpg

No xmps...

I was expecting to find also:
20141208-145133-WeddingFotoman-0001.jpg.xmp
etc...

Is this what RPD 0.9a5 is expected to do? am I missing a command line switch or something else?

Another question: the sidecar files contain a reference to the original file:

   xmpMM:DerivedFrom="DSC_0001.JPG"

Not sure if when renaming the picture this xmp content needs to be changed as well, or if the field is only informative / not relevant

-----------------------------------------
rapid-photo-downloader --help

Downloads, renames and backs up photos and videos from cameras, phones, memory
cards and other devices

positional arguments:
  path

optional arguments:
  -h, --help show this help message and exit
  --version show program's version number and exit
  --detailed-version Show version numbers of program and its libraries and
                        exit.
  -v, --verbose Display program information when run from the command
                        line.
  --debug Display debugging information when run from the
                        command line.
  -e, --extensions List photo and video file extensions the program
                        recognizes and exit.
  --photo-renaming {on,off}
                        Turn on or off the the renaming of photos.
  --video-renaming {on,off}
                        turn on or off the the renaming of videos.
  -a {on,off}, --auto-detect {on,off}
                        Turn on or off the automatic detection of devices from
                        which to download.
  -t {on,off}, --this-computer {on,off}
                        Turn on or off downloading from this computer.
  --this-computer-location PATH
                        The PATH on this computer from which to download.
  --photo-destination PATH
                        The PATH where photos will be downloaded to.
  --video-destination PATH
                        The PATH where videos will be downloaded to.
  -b {on,off}, --backup {on,off}
                        Turn on or off the backing up of photos and videos
                        while downloading.
  --backup-auto-detect {on,off}
                        Turn on or off the automatic detection of backup
                        devices.
  --photo-backup-identifier FOLDER
                        The FOLDER in which backups are stored on the
                        automatically detected photo backup device, with the
                        folder's name being used to identify whether or not
                        the device is used for backups. For each device you
                        wish to use for backing photos up to, create a folder
                        on it with this name.
  --video-backup-identifier FOLDER
                        The FOLDER in which backups are stored on the
                        automatically detected video backup device, with the
                        folder's name being used to identify whether or not
                        the device is used for backups. For each device you
                        wish to use for backing up videos to, create a folder
                        on it with this name.
  --photo-backup-location PATH
                        The PATH where photos will be backed up when automatic
                        detection of backup devices is turned off.
  --video-backup-location PATH
                        The PATH where videos will be backed up when automatic
                        detection of backup devices is turned off.
  --ignore-other-photo-file-types
                        Ignore photos with the following extensions: TIF, TIFF
                        and MPO
  --auto-download-startup {on,off}
                        Turn on or off starting downloads as soon as the
                        program itself starts.
  --auto-download-device-insertion {on,off}
                        Turn on or off starting downloads as soon as a device
                        is inserted.
  --thumbnail-cache {on,off}
                        Turn on or off use of the Rapid Photo Downloader
                        Thumbnail Cache. Turning it off does not delete
                        existing cache contents.
  --delete-thumbnail-cache
                        Delete all thumbnails in the Rapid Photo Downloader
                        Thumbnail Cache, and exit.
  --forget-remembered-files
                        Forget which files have been previously downloaded,
                        and exit.
  --import-old-version-preferences
                        Import preferences from an old program version and
                        exit. Requires the command line program gconftool-2.
  --reset Reset all program settings to their default values,
                        delete all thumbnails in the Thumbnail cache, forget
                        which files have been previously downloaded, and exit.
  --log-gphoto2 Include gphoto2 debugging information in log files.