Name : Rename series to show.
This commit is contained in:
parent
5d8546e229
commit
5aecf93bd2
|
@ -139,10 +139,10 @@ function name_hash_check() {
|
|||
_iterate_targets process ${targets[@]}
|
||||
}
|
||||
|
||||
# Rename files for Jellyfin series, i.e. `Episode S01E01.mkv`
|
||||
# Rename files for Jellyfin shows, i.e. `Episode S01E01.mkv`
|
||||
# All files by default.
|
||||
# Usage: name_series [FILES]
|
||||
function name_series() {
|
||||
# Usage: name_show [FILES]
|
||||
function name_show() {
|
||||
local IFS=$'\n'
|
||||
local season="$(realpath .)"; season="${season##*\ }"
|
||||
local episode=0
|
||||
|
|
|
@ -242,8 +242,9 @@ Command|Description
|
|||
`name_parse <PARSER> [FILES]`|Rename files with provided parser, i.e. `parse_simple`. All files by default.
|
||||
`name_hash [FILES]`|Rename all files to their hashes while keeping extensions. All files by default.
|
||||
`name_hash_check [FILES]`|Check hashes for previously renamed files. All files by default.
|
||||
`name_series [FILES]`|Rename files for Jellyfin series, i.e. `Episode S01E01.mkv` All files by default.
|
||||
`name_show [FILES]`|Rename files for Jellyfin shows, i.e. `Episode S01E01.mkv` All files by default.
|
||||
`name_manga <SEASON> [FILES]`|Rename files for Kavita manga format. All files by default.
|
||||
`name_music [FILES]`|Rename files for ffmpeg_music_meta format. All files by default.
|
||||
`name_ext <EXTENSION> [FILES]`|Rename files with new extension. All files by default.
|
||||
`name_prefix <OLD> <NEW> [FILES]`|Change file name prefix. All matching files by default.
|
||||
`name_postfix <OLD> <NEW> [FILES]`|Change file name postfix. All matching files by default.
|
||||
|
|
Reference in a new issue