[DOCS] Linear Rename

How-to guides, frequently asked questions, not-so-obvious features, etc
Post Reply
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

[DOCS] Linear Rename

Post by rednoah »

GUI

Please watch the Getting Started video tutorials and read Manual Matching for details.







CLI

If the file listing (or input argument order) aligns naturally with the episode list, then you can use -list -rename to rename files / episodes in linear order, bypassing automatic matching (and any potential mismatches caused by misleading file names) altogether.


e.g. Rename files and episodes in linear order:

Console Output: Select all

$ filebot -list --db TheMovieDB::TV --q "Firefly" --format "{plex.name}" -rename *.mkv
[MOVE] from [1.mkv] to [Firefly - S01E01 - The Train Job.mkv]
[MOVE] from [2.mkv] to [Firefly - S01E02 - Bushwhacked.mkv]
[MOVE] from [3.mkv] to [Firefly - S01E03 - Our Mrs. Reynolds.mkv]
[MOVE] from [4.mkv] to [Firefly - S01E04 - Jaynestown.mkv]
[MOVE] from [5.mkv] to [Firefly - S01E05 - Out of Gas.mkv]


e.g. Rename files and episodes from Season 17 in linear order:

Console Output: Select all

$ filebot -list --db TheTVDB --q 81797 --filter "s == 17" -rename *.mkv
[MOVE] from [One Piece 629.mkv] to [One Piece - 17x01 - Startling! The Big News Shakes Up the New World!.mkv]
[MOVE] from [One Piece 630.mkv] to [One Piece - 17x02 - Adventure! The Country of Love and Passion, Dressrosa.mkv]
[MOVE] from [One Piece 631.mkv] to [One Piece - 17x03 - Swirling Madness! Corrida Colosseum.mkv]
[MOVE] from [One Piece 632.mkv] to [One Piece - 17x04 - Dangerous Love! Dancing Girl Violet.mkv]


e.g. Rename files and episodes in linear order using --filter to select a specific interval of episodes:

Shell: Select all

filebot -list --q "The Daily Show" --filter "airdate >= /2007-01-08/" -rename -r .

e.g. Rename a movie file by numeric ID:

Shell: Select all

filebot -list --db TheMovieDB --q 19995 -rename *.mp4
:idea: Please read the FAQ and How to Request Help.
Post Reply