mirror of
https://codeberg.org/postscriptum/snac2nex.git
synced 2026-03-31 13:15:27 +00:00
implement optional binary files copy
This commit is contained in:
parent
cf8c676732
commit
ef1ba39589
5 changed files with 101 additions and 43 deletions
49
README.md
49
README.md
|
|
@ -21,40 +21,43 @@ snac2nex -s /path/to/snac/storage -t /path/to/nex -u user1 -u user2
|
|||
### Options
|
||||
|
||||
``` bash
|
||||
-s, --source <SOURCE>
|
||||
Path to the Snac2 profile directory
|
||||
-s, --source <SOURCE>
|
||||
Path to the Snac2 profile directory
|
||||
|
||||
-t, --target <TARGET>
|
||||
Target directory for public data export
|
||||
-t, --target <TARGET>
|
||||
Target directory for public data export
|
||||
|
||||
-u, --user <USER>
|
||||
Username to export
|
||||
-u, --user <USER>
|
||||
Username to export
|
||||
|
||||
-r, --rotate <ROTATE>
|
||||
Keep running as the daemon, renew every `n` seconds
|
||||
-b, --binary
|
||||
Export binary files (attachments)
|
||||
|
||||
-f, --format-content <FORMAT_CONTENT>
|
||||
Post template pattern
|
||||
-r, --rotate <ROTATE>
|
||||
Keep running as the daemon, renew every `n` seconds
|
||||
|
||||
[default: {content}{attachments}{link}{tags}{updated}]
|
||||
-f, --format-content <FORMAT_CONTENT>
|
||||
Post template pattern
|
||||
|
||||
--format-filename <FORMAT_FILENAME>
|
||||
Post filenames format
|
||||
[default: {content}{attachments}{link}{tags}{updated}]
|
||||
|
||||
* escaped with `%%`
|
||||
--format-filename <FORMAT_FILENAME>
|
||||
Post filenames format
|
||||
|
||||
[default: %H:%M:%S.txt]
|
||||
* escaped with `%%`
|
||||
|
||||
--format-updated <FORMAT_UPDATED>
|
||||
Post `{updated}` time format
|
||||
[default: %H:%M:%S.txt]
|
||||
|
||||
* escaped with `%%`
|
||||
--format-updated <FORMAT_UPDATED>
|
||||
Post `{updated}` time format
|
||||
|
||||
[default: "%Y/%m/%d %H:%M:%S"]
|
||||
* escaped with `%%`
|
||||
|
||||
-h, --help
|
||||
Print help (see a summary with '-h')
|
||||
[default: "%Y/%m/%d %H:%M:%S"]
|
||||
|
||||
-V, --version
|
||||
Print version
|
||||
-h, --help
|
||||
Print help (see a summary with '-h')
|
||||
|
||||
-V, --version
|
||||
Print version
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue