Skip to content

How do I setup my config file to do what I want it to do? #3055

Answered by mikf
rubberban asked this question in Q&A
Discussion options

You must be logged in to vote
  1. Set directory to an empty list (or string): "directory": []
    or use -D instead of -d

  2. {date:%Y%m%d_%H%M%S} (Format Codes)
    This is actually native Python stuff, so you can find more details with a search engine.

  3. There is no --prefix command-line option, but you can achieve something similar by preparing a filename format string the right way:

    • Put {prefix:?//} at the front of a format string, e.g. "filename": "{prefix?//}{category}-{date}-{id}{num}{filename}.{extension}"
    • Run gallery-dl with -o keywords.prefix=someusername-

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@mikf
Comment options

@rubberban
Comment options

@rautamiekka
Comment options

@rubberban
Comment options

@rautamiekka
Comment options

Answer selected by rubberban
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants