Add a --filename-format option to specify generated file names in certain conditions #519

Closed
dacap opened this Issue Nov 10, 2014 · 1 comment

Comments

Projects
None yet
1 participant
Owner

dacap commented Nov 10, 2014

There are a a couple of command line options which generate file names (--data and --save-as when used along --split-layers). It would be great to have an option (e.g. --filename-format) to specify this mini-filename template.

At the moment, the fixed file name format is something like

{path}/{title} ({layer}) {frame}.{extension}

dacap added the enhancement label Nov 10, 2014

dacap added this to the v1.1 milestone Nov 10, 2014

dacap self-assigned this Jan 25, 2015

@dacap dacap modified the milestone: v1.0, v1.1 Jan 25, 2015

Owner

dacap commented Jan 26, 2015

Available variables for the format:

  • {fullname}: full file name with path and extension
  • {path}: directory where the file is located (without trailing /)
  • {name}: file name and extension (without path)
  • {title}: file name only, without extension and without path
  • {extension}: extension only (without .)
  • {layer}: layer name
  • {frame}: frame number (starting from 0)
  • {frame1}: frame number (starting from 1)
  • {frame00}: frame number (starting from 00)
  • {frame001}: frame number (starting from 001)
  • etc.

dacap closed this in 72e2040 Jan 26, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment