Discussion:
[Darktable-users] Variables in import and export path
Hans Petter Birkeland
2014-03-27 19:54:51 UTC
Permalink
Hi,
David Vincent-Jones
2014-03-27 20:34:42 UTC
Permalink
The "Session Options" already provides a date include option for the
import folder [ie. 20140315_Garden] which had lots of flexibility.
Export is normally done to that same dated folder.

If I am sending a file to print or to the web I normally export to
$(DESKTOP) and then delete the file when the print etc is completed.

David
Hi,
Hans Petter Birkeland
2014-03-27 21:35:18 UTC
Permalink
I can't find any "Session Options" Where is it? I have Darktable 1.4.

Hans Petter

http://hpbirkeland.com
Post by David Vincent-Jones
The "Session Options" already provides a date include option for the
import folder [ie. 20140315_Garden] which had lots of flexibility. Export
is normally done to that same dated folder.
If I am sending a file to print or to the web I normally export to
$(DESKTOP) and then delete the file when the print etc is completed.
David
Hi,
Hans Petter Birkeland
2014-03-27 21:57:00 UTC
Permalink
No date include option there either. And if it was, wouldn't it only work
for Tethered Mode?

http://hpbirkeland.com
http://www.darktable.org/usermanual/ch04s02.html.php
"4.2.1. Session
A session is a sequence of exposures taken in tethering mode and going
into a single film roll. A new session equals a new film roll. A film roll
is created with the same storage structure that is used when you import
images from camera into darktable.
*It's a bit awkward, but configuring this storage structure is done in the
camera import dialog for now.*"
Il gio, mar 27, 2014 at 10:35 , Hans Petter Birkeland <
I can't find any "Session Options" Where is it? I have Darktable 1.4.
Hans Petter
http://hpbirkeland.com
Post by David Vincent-Jones
The "Session Options" already provides a date include option for the
import folder [ie. 20140315_Garden] which had lots of flexibility. Export
is normally done to that same dated folder.
If I am sending a file to print or to the web I normally export to
$(DESKTOP) and then delete the file when the print etc is completed.
David
Hi,
Federico Bruni
2014-03-27 22:15:02 UTC
Permalink
IIRC, the date (only current time, no exiv, at the moment) would work
on tethered mode and during import from camera.

To reply to your original questions below:

- today's date is already available in the export and you can choose
your preferred format, e.g.:
$(YEAR)$(MONTH)$(DAY)_$(HOUR)$(MINUTE)$(SECOND)
or
$(DAY)$(MONTH)$(YEAR)
...

- jobcode variable is not available in the export but.. if you set the
name of the folder as $JOBCODE, then $(FILE_FOLDER) will be the same
and you can use it during the export. Does it make sense?

I can't test it now and I haven't used darktable for a while now...

Il gio, mar 27, 2014 at 10:57 , Hans Petter Birkeland
Post by Hans Petter Birkeland
No date include option there either. And if it was, wouldn't it only
work for Tethered Mode?
http://hpbirkeland.com
http://www.darktable.org/usermanual/ch04s02.html.php
"4.2.1. Session
A session is a sequence of exposures taken in tethering mode and
going into a single film roll. A new session equals a new film roll.
A film roll is created with the same storage structure that is used
when you import images from camera into darktable.
It's a bit awkward, but configuring this storage structure is done
in the camera import dialog for now."
Il gio, mar 27, 2014 at 10:35 , Hans Petter Birkeland
Post by Hans Petter Birkeland
I can't find any "Session Options" Where is it? I have Darktable 1.4.
Hans Petter
http://hpbirkeland.com
Post by David Vincent-Jones
The "Session Options" already provides a date include option for
the import folder [ie. 20140315_Garden] which had lots of
flexibility. Export is normally done to that same dated folder.
If I am sending a file to print or to the web I normally export to
$(DESKTOP) and then delete the file when the print etc is
completed.
David
Hi,
Hans Petter Birkeland
2014-03-27 22:27:53 UTC
Permalink
Ah, of course, I didn't think of that. Thank you!!!

But $(FILE_FOLDER) will be $(JOBCODE)/RAW/, and my export folder should be
$(JOBCODE)/JPEG/.



http://hpbirkeland.com
IIRC, the date (only current time, no exiv, at the moment) would work on
tethered mode and during import from camera.
- today's date is already available in the export and you can choose your
$(YEAR)$(MONTH)$(DAY)_$(HOUR)$(MINUTE)$(SECOND)
or
$(DAY)$(MONTH)$(YEAR)
...
- jobcode variable is not available in the export but.. if you set the
name of the folder as $JOBCODE, then $(FILE_FOLDER) will be the same and
you can use it during the export. Does it make sense?
I can't test it now and I haven't used darktable for a while now...
Il gio, mar 27, 2014 at 10:57 , Hans Petter Birkeland <
No date include option there either. And if it was, wouldn't it only work
for Tethered Mode?
http://hpbirkeland.com
http://www.darktable.org/usermanual/ch04s02.html.php
"4.2.1. Session
A session is a sequence of exposures taken in tethering mode and going
into a single film roll. A new session equals a new film roll. A film roll
is created with the same storage structure that is used when you import
images from camera into darktable.
*It's a bit awkward, but configuring this storage structure is done in
the camera import dialog for now.*"
Il gio, mar 27, 2014 at 10:35 , Hans Petter Birkeland <
I can't find any "Session Options" Where is it? I have Darktable 1.4.
Hans Petter
http://hpbirkeland.com
Post by David Vincent-Jones
The "Session Options" already provides a date include option for the
import folder [ie. 20140315_Garden] which had lots of flexibility. Export
is normally done to that same dated folder.
If I am sending a file to print or to the web I normally export to
$(DESKTOP) and then delete the file when the print etc is completed.
David
Hi,
Federico Bruni
2014-03-27 23:00:23 UTC
Permalink
You are right, $(FILE_FOLDER) is a full path. You can use the following
path. It should always work for you and you can save it in a preset:

$(FILE_FOLDER)/../JPEG/$(FILE_NAME)

Il gio, mar 27, 2014 at 11:27 , Hans Petter Birkeland
Post by Hans Petter Birkeland
Ah, of course, I didn't think of that. Thank you!!!
But $(FILE_FOLDER) will be $(JOBCODE)/RAW/, and my export folder should be
$(JOBCODE)/JPEG/.
http://hpbirkeland.com
Post by Federico Bruni
IIRC, the date (only current time, no exiv, at the moment) would
work on tethered mode and during import from camera.
- today's date is already available in the export and you can choose
$(YEAR)$(MONTH)$(DAY)_$(HOUR)$(MINUTE)$(SECOND)
or
$(DAY)$(MONTH)$(YEAR)
...
- jobcode variable is not available in the export but.. if you set
the name of the folder as $JOBCODE, then $(FILE_FOLDER) will be the
same and you can use it during the export. Does it make sense?
I can't test it now and I haven't used darktable for a while now...
Il gio, mar 27, 2014 at 10:57 , Hans Petter Birkeland
Post by Hans Petter Birkeland
No date include option there either. And if it was, wouldn't it
only work for Tethered Mode?
http://hpbirkeland.com
http://www.darktable.org/usermanual/ch04s02.html.php
"4.2.1. Session
A session is a sequence of exposures taken in tethering mode and
going into a single film roll. A new session equals a new film
roll. A film roll is created with the same storage structure that
is used when you import images from camera into darktable.
It's a bit awkward, but configuring this storage structure is done
in the camera import dialog for now."
Il gio, mar 27, 2014 at 10:35 , Hans Petter Birkeland
Post by Hans Petter Birkeland
I can't find any "Session Options" Where is it? I have Darktable 1.4.
Hans Petter
http://hpbirkeland.com
2014-03-27 21:34 GMT+01:00 David Vincent-Jones
Post by David Vincent-Jones
The "Session Options" already provides a date include option for
the import folder [ie. 20140315_Garden] which had lots of
flexibility. Export is normally done to that same dated folder.
If I am sending a file to print or to the web I normally export
to $(DESKTOP) and then delete the file when the print etc is
completed.
David
Hi,
Hans Petter Birkeland
2014-03-28 06:38:39 UTC
Permalink
Ok, thank you. I thought briefly about it bur didn't think it would work.
But if it does, it is exactly what I want. So thank you ever so much!

:-)
Hans Petter
Post by Federico Bruni
You are right, $(FILE_FOLDER) is a full path. You can use the following
$(FILE_FOLDER)/../JPEG/$(FILE_NAME)
Il gio, mar 27, 2014 at 11:27 , Hans Petter Birkeland <
Ah, of course, I didn't think of that. Thank you!!!
But $(FILE_FOLDER) will be $(JOBCODE)/RAW/, and my export folder should be
$(JOBCODE)/JPEG/.
http://hpbirkeland.com
IIRC, the date (only current time, no exiv, at the moment) would work on
tethered mode and during import from camera.
- today's date is already available in the export and you can choose your
$(YEAR)$(MONTH)$(DAY)_$(HOUR)$(MINUTE)$(SECOND)
or
$(DAY)$(MONTH)$(YEAR)
...
- jobcode variable is not available in the export but.. if you set the
name of the folder as $JOBCODE, then $(FILE_FOLDER) will be the same and
you can use it during the export. Does it make sense?
I can't test it now and I haven't used darktable for a while now...
Il gio, mar 27, 2014 at 10:57 , Hans Petter Birkeland <
No date include option there either. And if it was, wouldn't it only work
for Tethered Mode?
http://hpbirkeland.com
http://www.darktable.org/usermanual/ch04s02.html.php
"4.2.1. Session
A session is a sequence of exposures taken in tethering mode and going
into a single film roll. A new session equals a new film roll. A film roll
is created with the same storage structure that is used when you import
images from camera into darktable.
*It's a bit awkward, but configuring this storage structure is done in
the camera import dialog for now.*"
Il gio, mar 27, 2014 at 10:35 , Hans Petter Birkeland <
I can't find any "Session Options" Where is it? I have Darktable 1.4.
Hans Petter
http://hpbirkeland.com
Post by David Vincent-Jones
The "Session Options" already provides a date include option for the
import folder [ie. 20140315_Garden] which had lots of flexibility. Export
is normally done to that same dated folder.
If I am sending a file to print or to the web I normally export to
$(DESKTOP) and then delete the file when the print etc is completed.
David
Hi,
Federico Bruni
2014-03-27 21:40:49 UTC
Permalink
http://www.darktable.org/usermanual/ch04s02.html.php

"4.2.1. Session
A session is a sequence of exposures taken in tethering mode and going
into a single film roll. A new session equals a new film roll. A film
roll is created with the same storage structure that is used when you
import images from camera into darktable.

It's a bit awkward, but configuring this storage structure is done in
the camera import dialog for now."

Il gio, mar 27, 2014 at 10:35 , Hans Petter Birkeland
Post by Hans Petter Birkeland
I can't find any "Session Options" Where is it? I have Darktable 1.4.
Hans Petter
http://hpbirkeland.com
Post by David Vincent-Jones
The "Session Options" already provides a date include option for the
import folder [ie. 20140315_Garden] which had lots of flexibility.
Export is normally done to that same dated folder.
If I am sending a file to print or to the web I normally export to
$(DESKTOP) and then delete the file when the print etc is completed.
David
Hi,
Loading...