mirror of
https://codeberg.org/postscriptum/snac2nex.git
synced 2026-03-31 13:15:27 +00:00
init separated format controller, detect content pattern by format_filename extension or trailing slash availability
This commit is contained in:
parent
776e929b01
commit
678f0c6d57
4 changed files with 174 additions and 78 deletions
|
|
@ -50,8 +50,10 @@ snac2nex -s /path/to/snac/storage -t /path/to/nex -u user1 -u user2
|
|||
--format-filename <FORMAT_FILENAME>
|
||||
Post filenames format
|
||||
|
||||
* escaped with `%%`
|
||||
* be careful when removing seconds, as it may cause overwrite collisions
|
||||
* append trailing slash to parse documents as the directory
|
||||
* append `.gmi` or `.gemtext` extension to parse documents as the Gemtext
|
||||
* escape with `%%` when using in `systemd` context
|
||||
* be careful when removing the seconds part, as it may cause overwrite collisions!
|
||||
|
||||
[default: %H-%M-%S]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue