-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: gryffyn <[email protected]>
- Loading branch information
Showing
4 changed files
with
124 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
.\" Automatically generated by Pandoc 2.18 | ||
.\" | ||
.\" Define V font for inline verbatim, using C font in formats | ||
.\" that render this, and otherwise B font. | ||
.ie "\f[CB]x\f[]"x" \{\ | ||
. ftr V B | ||
. ftr VI BI | ||
. ftr VB B | ||
. ftr VBI BI | ||
.\} | ||
.el \{\ | ||
. ftr V CR | ||
. ftr VI CI | ||
. ftr VB CB | ||
. ftr VBI CBI | ||
.\} | ||
.TH "OSIRIS" "1" "June 2022" "osiris 0.3.0" "" | ||
.hy | ||
.SH NAME | ||
.PP | ||
osiris - rename films / tv series based on named regex capture groups | ||
and Go templates | ||
.SH SYNOPSIS | ||
.PP | ||
\f[B]osiris\f[R] [\f[I]OPTIONS\f[R]] [\f[I]FILENAME\&...\f[R]] | ||
.SH DESCRIPTION | ||
.PP | ||
\f[B]osiris\f[R] uses named capture groups in regex patterns and Go | ||
templates to format film / tv series filenames. | ||
.SH OPTIONS | ||
.TP | ||
\f[B]-d\f[R], \f[B]\[en]dryrun\f[R] | ||
perform a dry run (does not modify files) | ||
.TP | ||
\f[B]-s\f[R], \f[B]\[en]silent\f[R] | ||
does not print output, useful for scripts | ||
.TP | ||
\f[B]-f\f[R], \f[B]\[en]film\f[R] | ||
uses film input and output formats | ||
.TP | ||
\f[B]-Y\f[R], \f[B]\[en]seriesyear\f[R] | ||
toggles series year in output | ||
.TP | ||
\f[B]-S\f[R], \f[B]\[en]scene\f[R] | ||
toggles scene info in output | ||
.TP | ||
\f[B]-y\f[R], \f[B]\[en]year=\f[R] | ||
release year override | ||
.TP | ||
\f[B]-t\f[R], \f[B]\[en]title=\f[R] | ||
release title override | ||
.TP | ||
\f[B]-c\f[R], \f[B]\[en]config=\f[R] | ||
config file (default \[ti]/.config/osiris/osiris.yml) | ||
.TP | ||
\f[B]-r\f[R], \f[B]\[en]regex\f[R] | ||
input regex pattern | ||
.SH EXAMPLES | ||
.TP | ||
\f[B]osiris -h\f[R] | ||
displays usage information, then exits | ||
.TP | ||
\f[B]osiris -r `(?P<title>\[rs]w+).(?P<ep>S\[rs]d{2}E\[rs]d{2})\[rs].(?P<eptitle>[\[rs]w\[rs].]+)\[rs].(?P<scene>WEB-.+)' Title.S01E01.Episode.Title.WEB-DL.H264.SCENE.mkv\f[R] | ||
renames provided file according to the default output template, using | ||
the provided input regex | ||
.SH BUGS | ||
.PP | ||
probably | ||
.SH AUTHORS | ||
gryffyn <[email protected]>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters