colmsg icon indicating copy to clipboard operation
colmsg copied to clipboard

download folder

Open heyunanachan opened this issue 1 year ago • 6 comments

Can I change the download folder location?

heyunanachan avatar Jun 11 '24 03:06 heyunanachan

You can use the -d option.

> colmsg --help
colmsg 3.2.0
A CLI tool for saving messages of '櫻坂46メッセージ', '日向坂46メッセージ', '乃木坂46メッセージ', and '齋藤飛鳥メッセージ' app locally.

USAGE:
    colmsg [FLAGS] [OPTIONS]

FLAGS:
        --config-dir
            Show colmsg's default configuration directory.

        --delete
            Delete all saved messages.
            If you execute command with this option, all saved messages are deleted from your disk.
            Please use be careful.
        --download-dir
            Show colmsg's default download directory.

    -h, --help
            Print this help message.

    -V, --version
            Show version information.


OPTIONS:
        --a_refresh_token <a_refresh_token>
            Set the asukasaito refresh token.

    -d, --dir <dir>
            Set the download directory.
            Use '--download-dir' to confirm the default directory.
    -F, --from <from>
            Save messages after the specific date.
            Date format is %Y/%m/%d %H:%M:%S
            e.g. -F '2020/01/01 00:00:00'
    -g, --group <group>...
            Save messages of specific group.
            If not specified, save messages both of groups [possible values: sakurazaka, hinatazaka, nogizaka, asukasaito]
        --h_refresh_token <h_refresh_token>
            Set the hinatazaka refresh token.

    -k, --kind <kind>...
            Save specific kind of messages.
            If not specified, save all kinds of messages.
            e.g. -k text -k image [possible values: text, picture, video, voice]
        --n_refresh_token <n_refresh_token>
            Set the nogizaka refresh token.

    -n, --name <name>...
            Save messages of specific members (菅井友香, 佐々木久美, 秋元真夏..)
            Name must be a valid full name of kanji.
            If not specified, save messages of all members.
            e.g. -n 菅井友香 -n 佐々木久美 -n 秋元真夏.
        --s_refresh_token <s_refresh_token>
            Set the sakurazaka refresh token.

proshunsuke avatar Jun 11 '24 04:06 proshunsuke

Thank you But i can't change It's still the default directory

heyunanachan avatar Jun 12 '24 08:06 heyunanachan

Please provide more information:

  • Execution environment
    • OS information
    • Version of colmsg
  • Command executed
  • Command execution result
  • Contents of the config file if one is being used

proshunsuke avatar Jun 12 '24 08:06 proshunsuke

window 10 colmsg 3.2.0 didn't change the config is this considered a success?

https://github.com/proshunsuke/colmsg/assets/102868907/07c35265-3db2-4100-9dfe-15f8dde6db62

heyunanachan avatar Jun 16 '24 07:06 heyunanachan

You can specify the output path as followed: using hinatazaka46 for example,

colmsg --h_refresh_token <h_refresh_token> --dir <your output path>

teddy8997 avatar Jul 12 '24 15:07 teddy8997

Ok, i will try Thank you!

heyunanachan avatar Jul 14 '24 06:07 heyunanachan