Project

General

Profile

Feature #8909

$(FILE_DIRECTORY) mangle in file export module

Added by Emmanuel Lacour about 6 years ago.

Status:
Triaged
Priority:
Low
Assignee:
-
Category:
General
Target version:
Start date:
09/05/2012
Due date:
% Done:

20%

Affected Version:
System:
bitness:
64-bit
hardware architecture:
amd64/x86

Description

It's a low priority request, but it would be nice to have a syntax for striping some path level in the $(FILE_DIRECTORY) variable.
The use case I think of is the following:

Raws are stored in a tree like /srv/data/photos/YYYY/YYYYMMDD-Description/xxxxxx.CR2

I would like to export directly to:

/srv/data/photos/exports/export_type/YYYY/YYYYMMDD-Description/xxxxxxx.jpg

maybe a syntax like:
$(FILE_DIRECTORY:1) = srv
$(FILE_DIRECTORY:-1) = YYYYMMDD-Description
$(FILE_DIRECTORY:3) = photos
$(FILE_DIRECTORY:-2) = YYYY
$(FILE_DIRECTORY:1:3) = srv/data/photos
$(FILE_DIRECTORY:-1:-2) = YYYY/YYYYMMDD-Description

?

History

#1 Updated by Tobias Ellinghaus about 6 years ago

  • % Done changed from 0 to 20
  • Target version set to Future
  • Status changed from New to Triaged
  • Category set to General

Also available in: Atom PDF