Imgbrd-grabber: Make Filename Date use YYYY-MM-DD Format, or Have Separate Date Components

Created on 28 Aug 2020  路  1Comment  路  Source: Bionus/imgbrd-grabber

Is your feature request related to a problem? Please describe

No.

Describe the solution you'd like

Having the date used for file naming be MM-DD-YYYY doesn't really make sense, it's arbitrary. However, having the year first is very useful for sorting purposes.

Describe alternatives you've considered

Alternatively, separate the components of the date into %year%, %month%, %day% and %time% parameters, so we can customize the naming schemes (I'd love to be able to easily download stuff into %search%/%year%/%month% subfolders).

question

Most helpful comment

This is covered in the Grabber Wiki under the "Filename" section, "Dates" sub-section.

You can reformat the %date% token with the "format" option like this: %date:format=yyyyMMdd%

A formatted %date% token can be included as part of a filename format in Grabber to automatically create directories and subdirectories upon downloading an image.

As per your example:

%search%/%date:format=yyyy%/%date:format=MM%/image_name_%md5%.%ext%

>All comments

This is covered in the Grabber Wiki under the "Filename" section, "Dates" sub-section.

You can reformat the %date% token with the "format" option like this: %date:format=yyyyMMdd%

A formatted %date% token can be included as part of a filename format in Grabber to automatically create directories and subdirectories upon downloading an image.

As per your example:

%search%/%date:format=yyyy%/%date:format=MM%/image_name_%md5%.%ext%

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NWCampbell picture NWCampbell  路  4Comments

FallenMei picture FallenMei  路  4Comments

ROdoka picture ROdoka  路  3Comments

MrAndre96 picture MrAndre96  路  4Comments

TheGho7t picture TheGho7t  路  4Comments