View Issue Details

IDProjectCategoryView StatusLast Update
0000520FileSieveBackend / Corepublic2020-04-11 22:33
ReporterBootBlock Assigned ToBootBlock  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Product Version4.53 
Target Version4.54Fixed in Version4.54 
Summary0000520: Allow %codes% to be added to Root Destination
Description

Within Step 2 - Destination, allow the entering of %codes% that'll be substituted for their literal equivalents during processing.

For example, a destination of (date being the date the process was performed):

D:\Folders\Destination\{date}\

would be replaced with:

D:\Folders\Destination\2020-04-06\

Not a literal example, but that's how it would work.


Thanks to Phil P. for the idea!

TagsNo tags attached.

Activities

BootBlock

2020-04-06 15:57

administrator   ~0000244

Last edited: 2020-04-09 00:25

Added the following codes:

  • Date

    • %DATE_YEAR%
    • %DATE_MONTH%
    • %DATE_DAY%
    • %DATE_ISO% [ISO 8601, in the form of yyyy-MM-dd]
  • Time

    • %TIME_HOUR%
    • %TIME_24HOUR%
    • %TIME_MINUTES%
    • %TIME_SECONDS%
    • %TIME_AmPm%
  • System

    • %SYSTEM_USER%
    • %SYSTEM_MACHINE%
    • %SYSTEM_DOMAIN%

Will add more when I (or someone else!) come up with 'em...

BootBlock

2020-04-06 16:04

administrator   ~0000245

Hold on a sec - the Multiple Destinations feature will also need to support these codes. Oops. Erm, okay; should probably display the codes within that form, too.

BootBlock

2020-04-06 16:40

administrator   ~0000246

Added a DestinationCreationMode option to the Settings - Advanced section. It's set to Auto, which won't prompt you to create the destination directory if it doesn't exist as that can get annoying if you're using %codes% within said destination.

BootBlock

2020-04-06 16:45

administrator   ~0000247

Last edited: 2020-04-06 16:45

Actually, removed DestinationCreationMode and any pop-ups about the destination not existing. FileSieve will now always automatically create the destination directory location if it doesn't exist. Probably should've done that from the start, really.

BootBlock

2020-04-06 18:13

administrator   ~0000248

Last edited: 2020-04-09 00:23

Changed codes to be their .NET Date format string equivalents; probably not as easy to use for beginners, but it reduces the huge number of characters required to represent something simple like a date.

For example:

%DATE_YEAR%

is now

%yyyy%

It also means many more codes can be added without having to come up with contorted names. Having %DATE_YEAR% equalled 2020, but what about the last t two digits of the year? %DATE_YR% - kinda rubbish.

BootBlock

2020-04-06 19:28

administrator   ~0000249

Added loads more codes/tokens.

It appears I started on a DateTime formatting editor (see the Extras menu within FileSieve)... no wonder it all felt like deja vu.

BootBlock

2020-04-09 00:22

administrator   ~0000251

Last edited: 2020-04-09 00:22

Added Source Item %codes%. Consequently, the Explore Root Destination button to the right of the destination (to open it in Windows explorer, DOpus, or whatever file manager is the system's default) will now try to open the specified destination; if it can't, it'll then remove the trailing directory and try to open that. It'll keep doing that until it either manages to explore a directory or it runs out of paths.

This is because you may now have a Root Destination that looks like Z:\MyFolder\%siname% where the %siname% portion may not exist (it's the name of the currently-processing Source Item) and so FileSieve will attempt to then open Z:\MyFolder instead. If that doesn't exist, then it'll attempt Z:\; if that also fails, you'll get a message about it.

BootBlock

2020-04-11 22:33

administrator   ~0000256

All references to %siname% have been changed to %folder%.

Issue History

Date Modified Username Field Change
2020-04-06 14:27 BootBlock New Issue
2020-04-06 14:27 BootBlock Assigned To => BootBlock
2020-04-06 14:27 BootBlock Description Updated
2020-04-06 14:28 BootBlock Description Updated
2020-04-06 14:30 BootBlock Description Updated
2020-04-06 14:30 BootBlock Description Updated
2020-04-06 15:19 BootBlock Description Updated
2020-04-06 15:56 BootBlock Status new => assigned
2020-04-06 15:57 BootBlock Note Added: 0000244
2020-04-06 15:58 BootBlock Note Edited: 0000244
2020-04-06 15:59 BootBlock Note Edited: 0000244
2020-04-06 16:04 BootBlock Note Added: 0000245
2020-04-06 16:40 BootBlock Note Added: 0000246
2020-04-06 16:45 BootBlock Note Added: 0000247
2020-04-06 16:45 BootBlock Note Edited: 0000247
2020-04-06 18:13 BootBlock Note Added: 0000248
2020-04-06 19:28 BootBlock Note Added: 0000249
2020-04-09 00:22 BootBlock Note Added: 0000251
2020-04-09 00:22 BootBlock Note Edited: 0000251
2020-04-09 00:23 BootBlock Note Edited: 0000248
2020-04-09 00:24 BootBlock Summary Allow tokens to be added to Root Destination => Allow %codes% to be added to Root Destination
2020-04-09 00:24 BootBlock Description Updated
2020-04-09 00:25 BootBlock Note Edited: 0000244
2020-04-09 15:24 BootBlock Status assigned => closed
2020-04-09 15:24 BootBlock Resolution open => fixed
2020-04-09 15:24 BootBlock Fixed in Version => 4.54
2020-04-11 22:33 BootBlock Note Added: 0000256