Re: [darktable-user] Issue importing pictures from D610

2016-12-22 Thread Patrick Rudin
Patrick Shanahan worte:

> certainly:
>   I have it assigned to an alias as:
> lc;exiv2 mv \-k \-r %y%m%d_%H%M%S_:basename: \.\/*.{nef,jpg}

Great, thank you. Pretty simple, i forgot that exiv2 can do that...


regards

Patrick

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Issue importing pictures from D610

2016-12-17 Thread Jean-Luc CECCOLI
I agree : transfering data by directly connecting the camera to the computer 
may be source of problems.

I'm using a card reader, maybe should you try this instead.

And *don't* use RPD pre-alpha, as not all features are currently implemented.

Current works fine for me (not really, in fact, as the photso are not erased 
after transfer, but it might be my fault).


J.-Luc

 

 

 

 

> Message du 17/12/16 11:41
> De : "Richard Hobday" 
> A : darktable-user@lists.darktable.org
> Copie à : 
> Objet : Re: [darktable-user] Issue importing pictures from D610
> 
> You may well have already considered these options, but ...
> 
> Check whether the camera's USB connection is set to MTP / PTP or Storage.
> 
> One or more of these will be correct for your connection to the 
> workstation, only one of them will work with RPD or Darktable ...
> 
> Check to see if the Filing system has already mounted the camera as a 
> device - it will appear in File Manager if this is so.
> Unmount it and try again.
> 
> R.
> 
> 
> On 17/12/16 09:57, Adrien le Maire wrote:
> > Hi ,
> >
> > I use Rapid Photo Downloader 0.9.0a6 installed via python & tar.gz
> > it is stuck at "probing device" and gives me the following error :
> > ERROR An unhandled exception occurred
> > ERROR Traceback (most recent call last):
> > File 
> > "/home/alemaire/.local/lib/python3.5/site-packages/raphodo/rapid.py", 
> > line 3559, in scanMessageReceived
> > data = pickle.loads(pickled_data) # type: ScanResults
> > EOFError: Ran out of input
> >
> > I also installed Rapid Photo Downloader via 'dnf install 
> > rapid-photo-downloader' on my Fedora 25 up to date. And that version 
> > (0.4.11) works for the internal filesystem and directories but for my 
> > D610 it stay on 'scanning ...' without the activity led on the camera 
> > showing any activity.
> >
> > Therefor, it seems that darktable import option is more mature but the 
> > variable system relying on EXIF data doesn't work.
> >
> > Regards,
> >
> > Adrien
> >
> > On Sat, Dec 17, 2016 at 12:39 AM Jean-Luc CECCOLI 
> > > wrote:
> >
> > Rapid Photo Downloader buggy ? Which version did you try ?
> >
> > I didn't notice that after having been using stable versions for
> > more than three years !
> >
> > Rgrds,
> >
> > J.-Luc
> >
> > > Message du 16/12/16 11:34
> > > De : "Adrien le Maire"  > >
> > > A : "Roman Lebedev"  > >
> > > Copie à : "darktable-user"
> >  > >
> > > Objet : Re: [darktable-user] Issue importing pictures from D610
> >
> >
> > >
> > >
> > AFAIK, it's documented and documentation is related to v 2.0
> > > http://www.darktable.org/usermanual/ch08s03.html.php
> > >
> >
> > >
> > Thanks Dave for Rapid Photo Downloader but seems really buggy,
> > can't get it to see my pics.
> > >
> >
> > >
> > On Fri, Dec 16, 2016 at 11:02 AM Roman Lebedev
> > > wrote:
> > >
> >
> > On Fri, Dec 16, 2016 at 12:43 PM, Adrien le Maire
> > > wrote:
> > > Hello,
> > >
> > > I want to import pictures from my camera in the
> > following sub directory
> > > naming pattern : $(EXIF_YEAR)/$(EXIF_MONTH)/$(EXIF_DAY)
> > but it got
> > > interpreted as $(YEAR)/$(MONTH)/$(DAY) ; is it linked to
> > my camera ? is
> > > there something I can do about it ?
> > Not a bug.
> > Such feature, i believe, was added, and is avaliable in
> > 2.2.0rc
> >
> > > Thanks,
> > > Adrien le Maire
> > Roman.
> >
> > >
> > 
> > > darktable user mailing list to unsubscribe send a mail to
> > > darktable-user+unsubscr...@lists.darktable.org
> > 
> >
> >
> > >
> > 
> > darktable user mailing list to unsubscribe send a mail to
> > darktable-user+unsubscr...@lists.darktable.org
> > 
> > > 
> >
> >
> > 
> > darktable user mailing list to unsubscribe send a mail to
> > darktable-user+unsubscr...@lists.darktable.org
> > 
> >
> >
> > 
> >  
> > darktable user mailing list to unsubscribe send a mail to 
> > darktable-user+unsubscr...@lists.darktable.org
> 
> -- 
> http://lukecarville.jalbum.net
> https://facebook.com/rlc.hobday
> 
> 
> darktable user mailing list
> to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
> 
>

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Issue importing pictures from D610

2016-12-17 Thread Michael Staats

Hi,
here's an alternative. Shell scripts are, hmm, shell scripts ;-) Doesn't
call external programs, just uses a per module.


#!/usr/bin/perl -w
# Author: Michael Staats (michael.staats at gmx.de)
# Free according to GPL
# $Id: picdate2fn 819 2016-12-17 13:18:00Z michael $
use strict;
use Image::ExifTool qw(:Public);
use Date::Parse;
use POSIX qw(strftime);
use Getopt::Std;

my %Opt;

getopts('vnp:o:', \%Opt);

$Opt{o}   = int($Opt{o} || 0);
$Opt{p}   = $Opt{p} ? '-' . $Opt{p} : '';

my $exif = new Image::ExifTool(); # we need exactly one object

die "Usage: $0 [-n] [-p prefix] [-o offset] file [...]\n"
unless($ARGV[0]);

##

ARG: foreach my $a (@ARGV) {
my $tt  = gettime($a);
next ARG unless ($tt);
$tt += $Opt{o};
my $nfn = strftime("%Y%m%d-%H%M%S", localtime($tt)) . $Opt{p} . '-'
. $a;
print "$a\t->\t$nfn\n";
rename($a, $nfn) unless($Opt{n});
}

sub gettime {
my $f = $_[0];

my $pt;

open(F, $f) or do {
warn "$f: $!\n";
return undef;
};
close(F);
my $data = ImageInfo($f);
if ($Opt{v}) {
print "Exif Info of $f\n";
foreach my $k (keys(%$data)) {
print "$k: ", $data->{$k}, "\n";
}
print "\n";
}
my $date = $data->{CreateDate} || $data->{DateTimeOriginal};
if ($date) {
$pt = str2time($date);
} else  {
warn "$f: has no Exif-CreateDate, using mtime instead\n";
$pt = (stat($f))[9];
}

return $pt;
}

Regards,
 Michael


-- 
Michael Staats
michael.sta...@gmx.de

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Issue importing pictures from D610

2016-12-17 Thread Patrick Shanahan
* Adrien le Maire  [12-17-16 04:58]:
> Hi ,
> 
> I use Rapid Photo Downloader 0.9.0a6 installed via python & tar.gz
> it is stuck at "probing device" and gives me the following error :
> ERRORAn unhandled exception occurred
> ERRORTraceback (most recent call last):
>   File
> "/home/alemaire/.local/lib/python3.5/site-packages/raphodo/rapid.py", line
> 3559, in scanMessageReceived
> data = pickle.loads(pickled_data)  # type: ScanResults
> EOFError: Ran out of input
> 
> I also installed Rapid Photo Downloader via 'dnf install
> rapid-photo-downloader' on my Fedora 25 up to date. And that version
> (0.4.11) works for the internal filesystem and directories but for my D610
> it stay on 'scanning ...' without the activity led on the camera showing
> any activity.
> 
> Therefor, it seems that darktable import option is more mature but the
> variable system relying on EXIF data doesn't work.
> 
> Regards,
> 
> Adrien
> 
> On Sat, Dec 17, 2016 at 12:39 AM Jean-Luc CECCOLI <
> jean-luc.cecc...@wanadoo.fr> wrote:
> 
> > Rapid Photo Downloader buggy ? Which version did you try ?
> >
> > I didn't notice that after having been using stable versions for more than
> > three years !
> >
> >
> >
> > Rgrds,
> >
> >
> >
> > J.-Luc
> >
> >
> >
> > > Message du 16/12/16 11:34
> > > De : "Adrien le Maire" 
> > > A : "Roman Lebedev" 
> > > Copie à : "darktable-user" 
> > > Objet : Re: [darktable-user] Issue importing pictures from D610
> >
> >
> > >
> > >
> > AFAIK, it's documented and documentation is related to v 2.0
> > > http://www.darktable.org/usermanual/ch08s03.html.php
> > >
> >
> > >
> > Thanks Dave for Rapid Photo Downloader but seems really buggy, can't get
> > it to see my pics.
> > >
> >
> > >
> > On Fri, Dec 16, 2016 at 11:02 AM Roman Lebedev 
> > wrote:
> > >
> >
> > On Fri, Dec 16, 2016 at 12:43 PM, Adrien le Maire 
> > wrote:
> > > Hello,
> > >
> > > I want to import pictures from my camera in the following sub directory
> > > naming pattern : $(EXIF_YEAR)/$(EXIF_MONTH)/$(EXIF_DAY) but it got
> > > interpreted as $(YEAR)/$(MONTH)/$(DAY) ; is it linked to my camera ? is
> > > there something I can do about it ?
> > Not a bug.
> > Such feature, i believe, was added, and is avaliable in 2.2.0rc
> >
> > > Thanks,
> > > Adrien le Maire
> > Roman.
> >
> > >
> > 
> > > darktable user mailing list to unsubscribe send a mail to
> > > darktable-user+unsubscr...@lists.darktable.org
> >
> >
> > >
> > 
> > darktable user mailing list to unsubscribe send a mail to
> > darktable-user+unsubscr...@lists.darktable.org
> > >
> >
> >
> > 
> > darktable user mailing list to unsubscribe send a mail to
> > darktable-user+unsubscr...@lists.darktable.org
> >
> 
> 
> darktable user mailing list
> to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
> 


Then the EXIF information in your photos is not standard or the version of
rfd is broken or not correctly installed.

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Photos: http://wahoo.no-ip.org/gallery2  Registered Linux User #207535  
  
Photos: http://wahoo.no-ip.org/piwigo@ http://linuxcounter.net

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Issue importing pictures from D610

2016-12-17 Thread Stéphane Gourichon

Le 16/12/2016 à 10:43, Adrien le Maire a écrit :


I want to import pictures from my camera in the following sub 
directory naming pattern : $(EXIF_YEAR)/$(EXIF_MONTH)/$(EXIF_DAY)


I would do something like

exiftool "-FileNameI like to have time and date encoded in name, so this variant will 
rename and move files, keeping original name at end:


exiftool "-FileName

Re: [darktable-user] Issue importing pictures from D610

2016-12-17 Thread Dave
I've only used rapid photo downloader with SD cards. No issues ever.

On Sat, 17 Dec 2016, 12:42 Richard Hobday,  wrote:

> You may well have already considered these options, but ...
>
> Check whether the camera's USB connection is set to MTP / PTP or Storage.
>
> One or more of these will be correct for your connection to the
> workstation, only one of them will work with RPD or Darktable ...
>
> Check to see if the Filing system has already mounted the camera as a
> device - it will appear in File Manager if this is so.
> Unmount it and try again.
>
> R.
>
>
> On 17/12/16 09:57, Adrien le Maire wrote:
> > Hi ,
> >
> > I use Rapid Photo Downloader 0.9.0a6 installed via python & tar.gz
> > it is stuck at "probing device" and gives me the following error :
> > ERRORAn unhandled exception occurred
> > ERRORTraceback (most recent call last):
> >   File
> > "/home/alemaire/.local/lib/python3.5/site-packages/raphodo/rapid.py",
> > line 3559, in scanMessageReceived
> > data = pickle.loads(pickled_data)  # type: ScanResults
> > EOFError: Ran out of input
> >
> > I also installed Rapid Photo Downloader via 'dnf install
> > rapid-photo-downloader' on my Fedora 25 up to date. And that version
> > (0.4.11) works for the internal filesystem and directories but for my
> > D610 it stay on 'scanning ...' without the activity led on the camera
> > showing any activity.
> >
> > Therefor, it seems that darktable import option is more mature but the
> > variable system relying on EXIF data doesn't work.
> >
> > Regards,
> >
> > Adrien
> >
> > On Sat, Dec 17, 2016 at 12:39 AM Jean-Luc CECCOLI
> > mailto:jean-luc.cecc...@wanadoo.fr>>
> wrote:
> >
> > Rapid Photo Downloader buggy ? Which version did you try ?
> >
> > I didn't notice that after having been using stable versions for
> > more than three years !
> >
> > Rgrds,
> >
> > J.-Luc
> >
> >     > Message du 16/12/16 11:34
> > > De : "Adrien le Maire"  > <mailto:adrien...@gmail.com>>
> > > A : "Roman Lebedev"  > <mailto:lebedev...@gmail.com>>
> > > Copie à : "darktable-user"
> >  > <mailto:darktable-user@lists.darktable.org>>
> > > Objet : Re: [darktable-user] Issue importing pictures from D610
> >
> >
> > >
> > >
> > AFAIK, it's documented and documentation is related to v 2.0
> > > http://www.darktable.org/usermanual/ch08s03.html.php
> > >
> >
> > >
> > Thanks Dave for Rapid Photo Downloader but seems really buggy,
> > can't get it to see my pics.
> > >
> >
> > >
> > On Fri, Dec 16, 2016 at 11:02 AM Roman Lebedev
> > mailto:lebedev...@gmail.com>> wrote:
> > >
> >
> > On Fri, Dec 16, 2016 at 12:43 PM, Adrien le Maire
> > mailto:adrien...@gmail.com>> wrote:
> > > Hello,
> > >
> > > I want to import pictures from my camera in the
> > following sub directory
> > > naming pattern : $(EXIF_YEAR)/$(EXIF_MONTH)/$(EXIF_DAY)
> > but it got
> > > interpreted as $(YEAR)/$(MONTH)/$(DAY) ; is it linked to
> > my camera ? is
> > > there something I can do about it ?
> > Not a bug.
> > Such feature, i believe, was added, and is avaliable in
> > 2.2.0rc
> >
> > > Thanks,
> > > Adrien le Maire
> > Roman.
> >
> > >
> >
>  
> > > darktable user mailing list to unsubscribe send a mail to
> > > darktable-user+unsubscr...@lists.darktable.org
> > <mailto:darktable-user%2bunsubscr...@lists.darktable.org>
> >
> >
> > >
> >
>  
> > darktable user mailing list to unsubscribe send a mail to
> > darktable-user+unsubscr...@lists.darktable.org
> > <mailto:darktable-user%2bunsubscr...@lists.darktable.org>
> > >
>

Re: [darktable-user] Issue importing pictures from D610

2016-12-17 Thread Richard Hobday

You may well have already considered these options, but ...

Check whether the camera's USB connection is set to MTP / PTP or Storage.

One or more of these will be correct for your connection to the 
workstation, only one of them will work with RPD or Darktable ...


Check to see if the Filing system has already mounted the camera as a 
device - it will appear in File Manager if this is so.

Unmount it and try again.

R.


On 17/12/16 09:57, Adrien le Maire wrote:

Hi ,

I use Rapid Photo Downloader 0.9.0a6 installed via python & tar.gz
it is stuck at "probing device" and gives me the following error :
ERRORAn unhandled exception occurred
ERRORTraceback (most recent call last):
  File 
"/home/alemaire/.local/lib/python3.5/site-packages/raphodo/rapid.py", 
line 3559, in scanMessageReceived

data = pickle.loads(pickled_data)  # type: ScanResults
EOFError: Ran out of input

I also installed Rapid Photo Downloader via 'dnf install 
rapid-photo-downloader' on my Fedora 25 up to date. And that version 
(0.4.11) works for the internal filesystem and directories but for my 
D610 it stay on 'scanning ...' without the activity led on the camera 
showing any activity.


Therefor, it seems that darktable import option is more mature but the 
variable system relying on EXIF data doesn't work.


Regards,

Adrien

On Sat, Dec 17, 2016 at 12:39 AM Jean-Luc CECCOLI 
mailto:jean-luc.cecc...@wanadoo.fr>> wrote:


Rapid Photo Downloader buggy ? Which version did you try ?

I didn't notice that after having been using stable versions for
more than three years !

Rgrds,

J.-Luc

> Message du 16/12/16 11:34
> De : "Adrien le Maire" mailto:adrien...@gmail.com>>
> A : "Roman Lebedev" mailto:lebedev...@gmail.com>>
        > Copie à : "darktable-user"
    mailto:darktable-user@lists.darktable.org>>
> Objet : Re: [darktable-user] Issue importing pictures from D610


>
>
AFAIK, it's documented and documentation is related to v 2.0
> http://www.darktable.org/usermanual/ch08s03.html.php
>

>
Thanks Dave for Rapid Photo Downloader but seems really buggy,
can't get it to see my pics.
>

>
On Fri, Dec 16, 2016 at 11:02 AM Roman Lebedev
mailto:lebedev...@gmail.com>> wrote:
>

On Fri, Dec 16, 2016 at 12:43 PM, Adrien le Maire
mailto:adrien...@gmail.com>> wrote:
> Hello,
>
> I want to import pictures from my camera in the
following sub directory
> naming pattern : $(EXIF_YEAR)/$(EXIF_MONTH)/$(EXIF_DAY)
but it got
> interpreted as $(YEAR)/$(MONTH)/$(DAY) ; is it linked to
my camera ? is
> there something I can do about it ?
Not a bug.
Such feature, i believe, was added, and is avaliable in
2.2.0rc

> Thanks,
> Adrien le Maire
Roman.

>


> darktable user mailing list to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
<mailto:darktable-user%2bunsubscr...@lists.darktable.org>


>


darktable user mailing list to unsubscribe send a mail to
darktable-user+unsubscr...@lists.darktable.org
<mailto:darktable-user%2bunsubscr...@lists.darktable.org>
> 




darktable user mailing list to unsubscribe send a mail to
darktable-user+unsubscr...@lists.darktable.org
<mailto:darktable-user%2bunsubscr...@lists.darktable.org>


 
darktable user mailing list to unsubscribe send a mail to 
darktable-user+unsubscr...@lists.darktable.org


--
http://lukecarville.jalbum.net
https://facebook.com/rlc.hobday


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Issue importing pictures from D610

2016-12-17 Thread Adrien le Maire
Hi ,

I use Rapid Photo Downloader 0.9.0a6 installed via python & tar.gz
it is stuck at "probing device" and gives me the following error :
ERRORAn unhandled exception occurred
ERRORTraceback (most recent call last):
  File
"/home/alemaire/.local/lib/python3.5/site-packages/raphodo/rapid.py", line
3559, in scanMessageReceived
data = pickle.loads(pickled_data)  # type: ScanResults
EOFError: Ran out of input

I also installed Rapid Photo Downloader via 'dnf install
rapid-photo-downloader' on my Fedora 25 up to date. And that version
(0.4.11) works for the internal filesystem and directories but for my D610
it stay on 'scanning ...' without the activity led on the camera showing
any activity.

Therefor, it seems that darktable import option is more mature but the
variable system relying on EXIF data doesn't work.

Regards,

Adrien

On Sat, Dec 17, 2016 at 12:39 AM Jean-Luc CECCOLI <
jean-luc.cecc...@wanadoo.fr> wrote:

> Rapid Photo Downloader buggy ? Which version did you try ?
>
> I didn't notice that after having been using stable versions for more than
> three years !
>
>
>
> Rgrds,
>
>
>
> J.-Luc
>
>
>
> > Message du 16/12/16 11:34
> > De : "Adrien le Maire" 
> > A : "Roman Lebedev" 
> > Copie à : "darktable-user" 
> > Objet : Re: [darktable-user] Issue importing pictures from D610
>
>
> >
> >
> AFAIK, it's documented and documentation is related to v 2.0
> > http://www.darktable.org/usermanual/ch08s03.html.php
> >
>
> >
> Thanks Dave for Rapid Photo Downloader but seems really buggy, can't get
> it to see my pics.
> >
>
> >
> On Fri, Dec 16, 2016 at 11:02 AM Roman Lebedev 
> wrote:
> >
>
> On Fri, Dec 16, 2016 at 12:43 PM, Adrien le Maire 
> wrote:
> > Hello,
> >
> > I want to import pictures from my camera in the following sub directory
> > naming pattern : $(EXIF_YEAR)/$(EXIF_MONTH)/$(EXIF_DAY) but it got
> > interpreted as $(YEAR)/$(MONTH)/$(DAY) ; is it linked to my camera ? is
> > there something I can do about it ?
> Not a bug.
> Such feature, i believe, was added, and is avaliable in 2.2.0rc
>
> > Thanks,
> > Adrien le Maire
> Roman.
>
> >
> 
> > darktable user mailing list to unsubscribe send a mail to
> > darktable-user+unsubscr...@lists.darktable.org
>
>
> >
> 
> darktable user mailing list to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
> >
>
>
> 
> darktable user mailing list to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Issue importing pictures from D610

2016-12-16 Thread Jean-Luc CECCOLI
Rapid Photo Downloader buggy ? Which version did you try ?

I didn't notice that after having been using stable versions for more than 
three years !

 

Rgrds,

 

J.-Luc

 

> Message du 16/12/16 11:34
> De : "Adrien le Maire" 
> A : "Roman Lebedev" 
> Copie à : "darktable-user" 
> Objet : Re: [darktable-user] Issue importing pictures from D610
> 
>


AFAIK, it's documented and documentation is related to v 2.0
> http://www.darktable.org/usermanual/ch08s03.html.php
>

>
Thanks Dave for Rapid Photo Downloader but seems really buggy, can't get it to 
see my pics.
>

>

On Fri, Dec 16, 2016 at 11:02 AM Roman Lebedev  wrote:
>
On Fri, Dec 16, 2016 at 12:43 PM, Adrien le Maire  wrote: > Hello, > > I want 
to import pictures from my camera in the following sub directory > naming 
pattern : $(EXIF_YEAR)/$(EXIF_MONTH)/$(EXIF_DAY) but it got > interpreted as 
$(YEAR)/$(MONTH)/$(DAY) ; is it linked to my camera ? is > there something I 
can do about it ? Not a bug. Such feature, i believe, was added, and is 
avaliable in 2.2.0rc > Thanks, > Adrien le Maire Roman. > 
 > 
darktable user mailing list to unsubscribe send a mail to > 
darktable-user+unsubscr...@lists.darktable.org


>  
> darktable user mailing list to unsubscribe send a mail to 
> darktable-user+unsubscr...@lists.darktable.org 
>

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Issue importing pictures from D610

2016-12-16 Thread Patrick Shanahan
* Patrick Rudin  [12-16-16 09:25]:
> Patrick Shanahan wrote:
> 
> > and rename the files after using a
> > script which assigns YEARMODA_.nef.
> 
> Oh yes. I was always too lazy to write such a script, could you please
> share it?

certainly:
  I have it assigned to an alias as:
lc;exiv2 mv \-k \-r %y%m%d_%H%M%S_:basename: \.\/*.{nef,jpg}

  lc is lowercase_filenames, see scrip below (tr would probably work as
well but old habits ...)
  exiv2 is used rather than exiftool as exiv2 is compiled/faster
  the rest should be rather obvious or I can explain if needed
  script acts on all nef/jpg in cwd



#!/bin/sh
# lowercase_filenames - a shell script to convert filenames to lower case
# underscore_filenames - a shell script to change blanks to underscores
# Author: Christian Steinruecken 
#

self=`basename $0`
force=""
verbose=""

convert() {
  x="$1"
  # convert to lowercase
case $self in
lowercase_filenames)
newname=`echo "$x" | tr '[A-Z]' '[a-z]'`
;;
underscore_filenames)
newname=`echo "$x" | tr '[:blank:]' '_'`
esac
  if [ ! "$x" = "$newname" ]; then
# preserve time stamp
realdate=`date +%Y%m%d%H%M.%S -r "$x"`
# this is required on VFAT partitions
[ -n "$verbose" ] && echo "$x -> $newname"
mv -i "$x" "${newname}__N_E_W__"
mv -i "${newname}__N_E_W__" "${newname}"
# restore time stamp
touch -m -t "${realdate}" "${newname}"
  fi
}

alpha() {
  y="$1"
  b=`basename "$1"` 
  if [ -e "$y" ]; then
if [ "$force" = "1" ]; then
  convert "$y"
else
  if [ "$b" = "Makefile" -o "$b" = "Mail" ]; then
 echo "$self: $y: Cowardly refusing to convert this (use --force)..." 
>&2
  elif [ ! -f "$y" -a ! -d "$y" ]; then
 echo "$self: $y: Special file, skipping..." >&2
  else
 convert "$y"
  fi
fi
  else
echo "$self: $y: No such file or directory." >&2
  fi
}



show_help() {
echo "Usage: $self [options] [files...]"

case $self in
lowercase_filenames)
echo "Converts filenames to lowercase."
echo "Options must be specified BEFORE the files."
;;
underscore_filenames)
echo "Converts blanks in filnames to underscores."
esac

echo "If no files are given, all files in the current working directory will be"
echo "used. Options include:"
echo
echo "   -v, --verbose Verbose operation"

if [ $self == lowercase_filenames ]; then
echo "   -f, --force   Also convert Makefiles, hidden and special files"
fi

echo "   -h, --helpDisplay this help"
echo
}

while [ -n "$1" ]; do
case "$1" in
"-h"|"--help") show_help; exit 0 ;;
"-f"|"--force") force="1"; shift ;;
"-v"|"--verbose") verbose="1"; shift ;;
*) break ;;
esac
done

if [ -n "$*" ]; then
   # convert all files (given as parameters)
   for i in "$@"; do
 alpha "$i"
   done
 else
   # take all files in current working directory
   if [ -n "$force" ]; then
 for i in .* *; do
   alpha "$i"
 done
   else
 for i in *; do
   alpha "$i"
 done
   fi
fi
exit 0



ps: I never alter *originals* but always work on copies and then delete
unwanted originals/dups when I an satisfied. Nearing 100k *worked* images
with dt.  (probably that many more with bibble before I found dt).
  
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Photos: http://wahoo.no-ip.org/gallery2  Registered Linux User #207535  
  
Photos: http://wahoo.no-ip.org/piwigo@ http://linuxcounter.net

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Issue importing pictures from D610

2016-12-16 Thread Patrick Rudin
Patrick Shanahan wrote:

> and rename the files after using a
> script which assigns YEARMODA_.nef.

Oh yes. I was always too lazy to write such a script, could you please
share it?

regards

Patrick

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Issue importing pictures from D610

2016-12-16 Thread Patrick Shanahan
* Serge Schmitt  [12-16-16 08:42]:
> Hello !
> 
> > On Fri, 16 Dec 2016, 11:43 Adrien le Maire,  wrote:
> > > I want to import pictures from my camera in the following sub directory
> Le vendredi 16 décembre 2016 09:54:24 Dave a écrit :
> 
> > You would do well to use Rapid Photo Downloader
> 
> I am using RPD for years now (since 2007?) and find it a very smart and 
> highly reliable piece of software! About 20,000 images downloaded and saved 
> with it without a flaw!

Another way(tm!):  I use a chip reader and dl to a pre-named directory
which fits my storage requirements, and rename the files after using a
script which assigns YEARMODA_.nef.

then import entire directory into dt.
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Photos: http://wahoo.no-ip.org/gallery2  Registered Linux User #207535  
  
Photos: http://wahoo.no-ip.org/piwigo@ http://linuxcounter.net

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Issue importing pictures from D610

2016-12-16 Thread Serge Schmitt
Hello !

> On Fri, 16 Dec 2016, 11:43 Adrien le Maire,  wrote:
> > I want to import pictures from my camera in the following sub directory
Le vendredi 16 décembre 2016 09:54:24 Dave a écrit :

> You would do well to use Rapid Photo Downloader

I am using RPD for years now (since 2007?) and find it a very smart and 
highly reliable piece of software! About 20,000 images downloaded and saved 
with it without a flaw!

Mes deux centimes d'Euro...
Serge

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Issue importing pictures from D610

2016-12-16 Thread Dave
I'm using 0.90a5 without problems.
Well, it crashes once images are downloaded, but they're successfully
downloaded.
I'm using Ubuntu 16.04 kernel 4.8.15

On Fri, 16 Dec 2016, 13:07 Richard Hobday,  wrote:

> Hello Adrien,
>
> I'm using Rapid Photo Downloader *0.4.11 *on Linux Mint 18 and it works
> perfectly.
>
> I would advise using the 'legacy version - *0.4.11*' of the program, in
> ppa's and at http://damonlynch.net/rapid/legacy/download.html
>
> and not the new beta.
>
> HTH,
> R.
>
> On 16/12/16 10:34, Adrien le Maire wrote:
> > AFAIK, it's documented and documentation is related to v 2.0
> > http://www.darktable.org/usermanual/ch08s03.html.php
> >
> > Thanks Dave for Rapid Photo Downloader but seems really buggy, can't
> > get it to see my pics.
> >
> > On Fri, Dec 16, 2016 at 11:02 AM Roman Lebedev  > > wrote:
> >
> > On Fri, Dec 16, 2016 at 12:43 PM, Adrien le Maire
> > mailto:adrien...@gmail.com>> wrote:
> > > Hello,
> > >
> > > I want to import pictures from my camera in the following sub
> > directory
> > > naming pattern : $(EXIF_YEAR)/$(EXIF_MONTH)/$(EXIF_DAY) but it got
> > > interpreted as $(YEAR)/$(MONTH)/$(DAY) ; is it linked to my
> > camera ? is
> > > there something I can do about it ?
> > Not a bug.
> > Such feature, i believe, was added, and is avaliable in 2.2.0rc
> >
> > > Thanks,
> > > Adrien le Maire
> > Roman.
> >
> > >
> >
>  
> > > darktable user mailing list to unsubscribe send a mail to
> > > darktable-user+unsubscr...@lists.darktable.org
> > 
> >
> >
> >
> 
> > darktable user mailing list to unsubscribe send a mail to
> > darktable-user+unsubscr...@lists.darktable.org
>
> --
> http://lukecarville.jalbum.net
> https://facebook.com/rlc.hobday
>
>
> 
> darktable user mailing list
> to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>
>


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] Issue importing pictures from D610

2016-12-16 Thread Richard Hobday

Hello Adrien,

I'm using Rapid Photo Downloader *0.4.11 *on Linux Mint 18 and it works 
perfectly.


I would advise using the 'legacy version - *0.4.11*' of the program, in 
ppa's and at http://damonlynch.net/rapid/legacy/download.html


and not the new beta.

HTH,
R.

On 16/12/16 10:34, Adrien le Maire wrote:

AFAIK, it's documented and documentation is related to v 2.0
http://www.darktable.org/usermanual/ch08s03.html.php

Thanks Dave for Rapid Photo Downloader but seems really buggy, can't 
get it to see my pics.


On Fri, Dec 16, 2016 at 11:02 AM Roman Lebedev > wrote:


On Fri, Dec 16, 2016 at 12:43 PM, Adrien le Maire
mailto:adrien...@gmail.com>> wrote:
> Hello,
>
> I want to import pictures from my camera in the following sub
directory
> naming pattern : $(EXIF_YEAR)/$(EXIF_MONTH)/$(EXIF_DAY) but it got
> interpreted as $(YEAR)/$(MONTH)/$(DAY) ; is it linked to my
camera ? is
> there something I can do about it ?
Not a bug.
Such feature, i believe, was added, and is avaliable in 2.2.0rc

> Thanks,
> Adrien le Maire
Roman.

>

> darktable user mailing list to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org



 
darktable user mailing list to unsubscribe send a mail to 
darktable-user+unsubscr...@lists.darktable.org


--
http://lukecarville.jalbum.net
https://facebook.com/rlc.hobday


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Issue importing pictures from D610

2016-12-16 Thread Adrien le Maire
AFAIK, it's documented and documentation is related to v 2.0
http://www.darktable.org/usermanual/ch08s03.html.php

Thanks Dave for Rapid Photo Downloader but seems really buggy, can't get it
to see my pics.

On Fri, Dec 16, 2016 at 11:02 AM Roman Lebedev  wrote:

> On Fri, Dec 16, 2016 at 12:43 PM, Adrien le Maire 
> wrote:
> > Hello,
> >
> > I want to import pictures from my camera in the following sub directory
> > naming pattern : $(EXIF_YEAR)/$(EXIF_MONTH)/$(EXIF_DAY) but it got
> > interpreted as $(YEAR)/$(MONTH)/$(DAY) ; is it linked to my camera ? is
> > there something I can do about it ?
> Not a bug.
> Such feature, i believe, was added, and is avaliable in 2.2.0rc
>
> > Thanks,
> > Adrien le Maire
> Roman.
>
> >
> 
> > darktable user mailing list to unsubscribe send a mail to
> > darktable-user+unsubscr...@lists.darktable.org
>


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] Issue importing pictures from D610

2016-12-16 Thread Roman Lebedev
On Fri, Dec 16, 2016 at 12:43 PM, Adrien le Maire  wrote:
> Hello,
>
> I want to import pictures from my camera in the following sub directory
> naming pattern : $(EXIF_YEAR)/$(EXIF_MONTH)/$(EXIF_DAY) but it got
> interpreted as $(YEAR)/$(MONTH)/$(DAY) ; is it linked to my camera ? is
> there something I can do about it ?
Not a bug.
Such feature, i believe, was added, and is avaliable in 2.2.0rc

> Thanks,
> Adrien le Maire
Roman.

> 
> darktable user mailing list to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Issue importing pictures from D610

2016-12-16 Thread Dave
You would do well to use Rapid Photo Downloader
https://www.google.co.za/url?sa=t&source=web&rct=j&url=http://www.damonlynch.net/rapid/&ved=0ahUKEwjz4L7nt_jQAhXKJcAKHbUVDY4QFggaMAA&usg=AFQjCNGhl9NrF9Iy9VFW6z_Htwr8_5uHCw&sig2=XJ-oi0x9HFwZjeYM2QL5GA

Regards
Dave

On Fri, 16 Dec 2016, 11:43 Adrien le Maire,  wrote:

> Hello,
>
> I want to import pictures from my camera in the following sub directory
> naming pattern : $(EXIF_YEAR)/$(EXIF_MONTH)/$(EXIF_DAY) but it got
> interpreted as $(YEAR)/$(MONTH)/$(DAY) ; is it linked to my camera ? is
> there something I can do about it ?
>
> Thanks,
> Adrien le Maire
>
> 
> darktable user mailing list to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org