Rename files with no current filename

Support for Windows 10 users and the Microsoft Store package
Post Reply
jamaster14
Posts: 3
Joined: 15 Nov 2018, 21:51

Rename files with no current filename

Post by jamaster14 » 15 Nov 2018, 21:53

I recovered a ton of TV episodes and movies off of an old hard drive... issue is the recover renamed them to generic names (like FILE001, FILE002, etc). I tried using filebot but it couldnt seem to find a match. not sure if its capable of doing what i need or if im just SOL

sorry if this was covered, i tried a search but came up empty

User avatar
rednoah
The Source
Posts: 16615
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Rename files with no current filename

Post by rednoah » 16 Nov 2018, 04:46

Possibly. MKV files are usually tagged with the media title so you might be able to use that.
viewtopic.php?t=3809
:idea: Please read the FAQ and How to Request Help.

kim
Power User
Posts: 802
Joined: 15 May 2014, 16:17

Re: Rename files with no current filename

Post by kim » 16 Nov 2018, 18:58

if files have no extensions then:
in Filebot, maybe you can use

Code: Select all

{cf}

or try this tool
http://mark0.net/soft-tridnet-e.html

User avatar
rednoah
The Source
Posts: 16615
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Rename files with no current filename

Post by rednoah » 17 Nov 2018, 05:43

Yes, if you’re lucky, this might do the trick:

Code: Select all

{media.title}.{cf}
Probably works for most mkv and mp4 files. Probably won’t work for avi files.
:idea: Please read the FAQ and How to Request Help.

jamaster14
Posts: 3
Joined: 15 Nov 2018, 21:51

Re: Rename files with no current filename

Post by jamaster14 » 18 Dec 2018, 00:53

thanks so much guys.... i see alot of "try this" followed by code. is there documentation on how to run commandline stuff?

User avatar
rednoah
The Source
Posts: 16615
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Rename files with no current filename

Post by rednoah » 18 Dec 2018, 02:39

Yes, command-line documentation can be found here:
https://www.filebot.net/cli.html

That being said, this thread is primarily about naming and custom formats, not CLI or GUI specifically per se:
https://www.filebot.net/naming.html


Note that we assume here that you already generally know how to use the command-line if you use the filebot command-line tool.


How to use the command-line? Like any other skill. Google it. Find tutorials. Maybe even do an online class.

Here's a few Google search results:
http://linuxcommand.org/lc3_learning_the_shell.php
https://www.codecademy.com/learn/learn-the-command-line
:idea: Please read the FAQ and How to Request Help.

jamaster14
Posts: 3
Joined: 15 Nov 2018, 21:51

Re: Rename files with no current filename

Post by jamaster14 » 07 Jan 2019, 14:49

So im still a bit lost here... i tried running CLI, but i dont see any commande for "{media.title}"

i see -mediainfo, but that just returns the encoding info.

The file name is FILE001.mkv, can you give the sample command?

Code: Select all

filebot -mediainfo c:\users\johndoe\desktop\file000.mkv
or something like that?

User avatar
rednoah
The Source
Posts: 16615
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Rename files with no current filename

Post by rednoah » 07 Jan 2019, 16:04

What do you get if you run this command?

Code: Select all

filebot -mediainfo /path/to/file000.mkv --format "{f} => {mediaTitle}"
:idea: Please read the FAQ and How to Request Help.

Post Reply