You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ Options:
40
40
--movie-pattern <movie-pattern> Rename pattern for movies
41
41
--windows-safe Remove invalid Windows file name characters when renaming
42
42
--rename-subs Rename subtitle files
43
+
--replace <replace replacement> Replace <replace> with <replacement> in file names
43
44
-c, --config <config> Config file path
44
45
-p, --pattern <pattern> Custom regex to parse TV episode information
45
46
-v, --verbose Enable verbose output mode
@@ -71,7 +72,10 @@ The regex pattern should have 3 named capturing groups: `SeriesName`, `Season` a
71
72
Note that on Windows all directory separators (`\`) must be escaped as `\\`.
72
73
73
74
### Windows Safe
74
-
The `--windows-safe` option is for use on Linux where the files written may be accessed by a Windows host, or are being written to an NTFS filesystem.
75
+
The `--windows-safe` option is for use on Linux/macOS where the files written may be accessed by a Windows host, or are being written to an NTFS filesystem. It automatically removes any invalid NTFS file name characters.
76
+
77
+
### File Name Replacements
78
+
The `--replace` option allows specific characters or strings in a file name to be replaced, e.g. `--replace a b` will replace all the `a` characters in the file name with `b`. This option can be used multiple times for multiple replacements, e.g. `--replace a b --replace foo bar --replace c ''`. **Note: the arguments for this option are case sensitive.**
75
79
76
80
### Extended Tagging
77
81
The `--extended-tagging` option adds additional information to Matroska video files such as actors and their characters. This option is not enabled by default because it may reduce tagging speed significantly due to the additional API requests needed.
@@ -82,7 +86,7 @@ The language of the metadata can be set using the `-l` or `--language` option. T
82
86
## Config
83
87
AutoTag creates a config file to store default preferences at `~/.config/autotag/conf.json` or `%APPDATA%\Roaming\autotag\conf.json`. A different config file can be specified using the `-c` option. If the file does not exist, a file will be created with the default settings:
0 commit comments