[LH4700] Export Files - Oddity

Posts: 2
Joined: Sat Jun 13, 2020 4:22 am
Platform: Windows

Fri Sep 18, 2020 1:40 am Post

Just popping in to verify a few things. I think they're bugs, but you never know what could be functioning as designed. This all assumes I'm talking about Export -> Files...

  • If a period is included in the item's name, everything after the period is dropped.
  • If you have something like: "9 . Test" due to a typo, it will create a directory that is named "9 ", which doesn't play nice with Windows (note the trailing space after the nine).

Use case for #1: You added" Number exported files". That wasn't in scrivener 1. So I no longer need to do that, but the bug [?] still stands.


Posts: 996
Joined: Thu May 28, 2015 9:41 pm
Platform: Windows

Fri Sep 18, 2020 2:57 am Post

Verified the 1st. Scrivener treats a period as an end to the filename. So, if I have a scene or chapter named "57. Karma is a bit challenging", and I export files for it alone and check the "number files" option, the output will be "1 57.rtf".
Just another user.

Posts: 2
Joined: Sat Jun 13, 2020 4:22 am
Platform: Windows

Fri Sep 18, 2020 8:15 am Post

To clarify #2:

It occurs when the exported item is a folder.

Not applicable to files due to the extension scrivener adds to the end. (In fairness I haven't verified that, but it seems logical.)

Posts: 646
Joined: Tue Oct 26, 2010 5:44 pm
Platform: Windows
Location: Unlogged bugs thru RC11:  t=61527 HTML clpbrd, 63330 kwd drag.

Fri Sep 18, 2020 12:56 pm Post

Yep, this is an ancient bug. Prior reports elicited no response:

Export to file prompts using wrong filename, truncates at first period (v.

Export Files saves to a truncated filename that does not match the one shown in its screen prompt (beta

The team did add "Number exported files" to the options checklist. Previously -- and even now with the option unchecked -- the user might select several docs with the same naming pattern, for example:

U.S. adjusts its policy on...
U.S. announces new initiative...
U.S. announces third quarter...

and the export would yield a single doc "U.rtf" as each truncated file name clobbered its predecessor. "Number exported files" seemed like a weak stab at addressing the underlying bug, but at least for those who know to use it, the truncated filenames need not result in missing files on the export. The premature truncation itself has yet to be addressed.

Rgds - Jerome

User avatar
Posts: 1283
Joined: Tue Sep 13, 2011 1:14 pm
Platform: Linux + Windows

Sat Sep 19, 2020 11:21 am Post

Thank You, guys! This has been fixed and will be available in the next update.