Folder tokens
I am trying to use folder tokens on a process recipe and just noticed that the token I would like to use is missing: Image Date yyyy-mm-dd. The nearest 2 tokens are Image Date yy-mm-dd and yy-mm-dd HH.mm.ss.
Is it possible to create tokens? If not, is there an easy workaround?
By the way I am assuming the following behaviour:
a) if I select a folder call Derivatives under Store Files, the image will be place either on this folder or a sub-folder of this folder I a token is used under sub-folders
b) if a token is used under sub-folders, the processed file will be created in the subfolder
c) if the subfolder specified by the token already exists, C1 will use it and not try to create to a folder
Please to let me know if the I got the expected behaviour wrong.
Is it possible to create tokens? If not, is there an easy workaround?
By the way I am assuming the following behaviour:
a) if I select a folder call Derivatives under Store Files, the image will be place either on this folder or a sub-folder of this folder I a token is used under sub-folders
b) if a token is used under sub-folders, the processed file will be created in the subfolder
c) if the subfolder specified by the token already exists, C1 will use it and not try to create to a folder
Please to let me know if the I got the expected behaviour wrong.
0
-
[quote="NN259560UL" wrote:
I am trying to use folder tokens on a process recipe and just noticed that the token I would like to use is missing: Image Date yyyy-mm-dd. The nearest 2 tokens are Image Date yy-mm-dd and yy-mm-dd HH.mm.ss.
Instead of using an Image Date token, you can use an Image Year token (there's yy and yyyy available) + "-" + an Image Month token + "-" + an Image Day token.0 -
[quote="John Doe" wrote:
Instead of using an Image Date token, you can use an Image Year token (there's yy and yyyy available) + "-" + an Image Month token + "-" + an Image Day token.
Thanks for that, it works.
Unfortunately, I did not ask the question accurately enough. What I am after, is a process recipe that creates the necessary folders and subfolders, such as 2016/2016-03/2016-03-26 which is 3 folders. Is it possible to do this? If so, how?0 -
I seem to remember there's a topic about this very need somewhere in the forum. Maybe simply adding "/" between the tokens does the trick, I can't remember. 0 -
Add the appropriate separator symbol for you OS (/ for a MAC?) between the token versions you wish to use for Year/Month/Day.
It should work. It works with \ using Windows.
No idea if portability between Mac and Win becomes an issue. Presumably not?
There is a Webinar video that covers this functionality presented by David Grover and James Johnson.
Grant0 -
That's it, that was in a webinar for v.8 I think. Use "/" for OS X and "" for Windows (the usual folder separator for your OS, in other words). 0 -
[quote="John Doe" wrote:
That's it, that was in a webinar for v.8 I think. Use "/" for OS X and "" for Windows (the usual folder separator for your OS, in other words).
I works, the expression if Image date yyyy/Image date yyyy- Image date mm/Image date yyyy-Image date mm-Image date dd
But ...
Somehow I ended up with 2 folders with the same name, two 2015-09 folders, which of course should be impossible. I cannot find a difference between both folder names. Really puzzled.0 -
More than likely you have a 'space' in one of the directories names.
Robert0 -
[quote="PhaseoneUser55657" wrote:
More than likely you have a 'space' in one of the directories names.
Robert
There has to be a difference because I ended up with 2 folders called 2015-09. But I cannot find any difference between the names, they look identical in finder and terminal and do not appear to have any spaces; please note the italics. My current suspicion is that the hyphens are different, but not sure how to verify this.
I have created a support case.0 -
Could you try the following :
- Launch a Terminal and type :
$ ls "drag&drop first 2015-9 dir here" > firstdir
$ ls "drag&drop second 2015-9 dir here" > seconddir
$ od -bc firstdir
$ od -bc seconddir
Check if you see any difference between the output of the two last commands.0 -
[quote="John Doe" wrote:
Could you try the following :
- Launch a Terminal and type :
$ ls "drag&drop first 2015-9 dir here" > firstdir
$ ls "drag&drop second 2015-9 dir here" > seconddir
$ od -bc firstdir
$ od -bc seconddir
Check if you see any difference between the output of the two last commands.[quote="PhaseoneUser55657" wrote:
More than likely you have a 'space' in one of the directories names.
Robert
Thank you to both, there is indeed something that terminal renders as space but it is not a space.
firstdir - the one already existed before running the recipe looks like
0000000 062 060 061 065 055 060 071 055 061 060 012 062 060 061 065 055
2 0 1 5 - 0 9 - 1 0 \n 2 0 1 5 -
0000020 060 071 055 061 065 012 062 060 061 065 055 060 071 055 061 066
0 9 - 1 5 \n 2 0 1 5 - 0 9 - 1 6
0000040 012
\n
0000041
seconddir - the one created using the recipe looks like
0000000 062 060 061 065 055 357 277 274 060 071 055 061 060 012
2 0 1 5 - ** ** 0 9 - 1 0 \n
0000016
357 277, the 2 asterisks, are the problem, oddly this on the only subfolder under the repeated folder, the repeated folder is 2015-09.
I have no clue where this are coming from, nothing in the tokens.0 -
Just an update, I run a test with a different folder and guess what I got:
0000000 357 277 274 062 060 061 060 055 060 062 012
 ** ** 2 0 1 0 - 0 2 \n
What is C1 exactly doing?0 -
Did you accidentally hit an <ALT> + something or <ShIft> + <ALT> + something combination when typing your path? That could give you things like these. Or using a spanish(?) keyboard layout, using localized keys,
Regards,
Hans0 -
[quote="HansB" wrote:
Did you accidentally hit an <ALT> + something or <ShIft> + <ALT> + something combination when typing your path? That could give you things like these.
Not that I am aware, but it is not impossible[quote="HansB" wrote:
Or using a spanish(?) keyboard layout, using localized keys,
Regards,
Hans
I am using a British keyboard layout.
Curiously, the problem disappears as soon as I eliminate the hyphens.
Image Date yyyy/Image Date yyyy - Image Date mm/Image Date yyyy - Image Date mm - Image Date dd causes a problem.
But,
Image Date yyyy/Image Date yyyy Image Date mm/Image Date yyyy Image Date mm Image Date dd does not cause any problems.0 -
I am using US standards on an international keyboard, and I cannot reproduce it. I've got a single 055 on the hyphens.
Could it be from hyphen, en dash and em dash? I am not so familiar with these on keyboards, being from and in Germany. We do have the so-called 'Gedankenstrich', which is similar. I can generate it with <ALT> + '-', but it's usually applied by autocorrection. Maybe you can generate the correct hyphen with an <ALT> + something combination?
Regards,
Hans0 -
Maybe it's worth looking into 'System Preferences' - 'Keyboard', replacements and 'Use smart quotes and dashes'. The Mac OS might apply them just because it's a text field entry.
Regards,
Hans
EDIT:
The action above is a global one. You can also check and change the autocorrect settings in CO itself. It is in 'Edit' - 'Spelling'. You need a blinking cursor in one of CO's text fields to activate the menu entries.0 -
I have suspected all the time it was the hyphens; you are quite correct about the short (-) and long hyphen (alt -). In the end, I have decided to simplify and create a folder structure without the hyphens, it is not an issue for derivatives, just hoping I don't have to do it for my RAW files. 0 -
What about telling CO's auto-correct function to always replace the long hyphen with the standard one? Or does that mean trouble with the keywords or with entering negative numbers?
Regards,
Hans0 -
[quote="HansB" wrote:
What about telling CO's auto-correct function to always replace the long hyphen with the standard one? Or does that mean trouble with the keywords or with entering negative numbers?
Regards,
Hans
Thanks for your help and suggestions. If I try the auto-correct on the Sub Folder token expression it blanks the whole expression out. I would love to hear Phase One's opinion in all of this, I have opened a support case and this thread has plenty of information about this.0
Post is closed for comments.
Comments
18 comments