Run from cmdline

Support for Windows users
Post Reply
Fiala06
Posts: 3
Joined: 08 Nov 2016, 17:39

Run from cmdline

Post by Fiala06 »

So coming from TheRenamer (was manually renaming and moving stuff) someone recommend this program to me to automate this process.

I have a dir (C:New) that auto downloads my files from my seedbox once complete. (compressed files typically, tho sometimes uncompressed single movie files) I prefer to download them from the seedbox compressed as they download faster then a single large file.

What I would like to do is once new movies and TV shows show up in C:\New (example) extract, rename and move them to the correct directory.

My current library layout is as the following:

C:\Media
--Movies
--TV Shows
---The Simpsons
----Season 01
-----The Simpsons.s01e01 Some Title
----Season 02
-----The Simpsons.s02.e02 Title Here

So if I understand this all correctly, I can create a batch file to run every 30 minutes to extract if necessary, rename and place in proper folder depending on type of media?

What code would I use for this? Seems the AMC is only for torrent clients and all the other code is for only TV Shows or Only Movies, not both? Thanks for any input!
User avatar
rednoah
The Source
Posts: 23925
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Trying to wrap my head around this

Post by rednoah »

Fiala06 wrote:AMC is only for torrent clients
No. Why would you think that? The amc script is clearly a simple command-line tool that can easily be called by any other 3rd party program (e.g. Windows Task Scheduler).

You will need some (very) basic CMD skills though, and then everything else will be pretty much self-explanatory. If you have never used CMD (and no time for learning the basics) then I recommend sticking the GUI.

You can get started by reading the Run from cmdline section.
:idea: Please read the FAQ and How to Request Help.
Fiala06
Posts: 3
Joined: 08 Nov 2016, 17:39

Re: Trying to wrap my head around this

Post by Fiala06 »

rednoah wrote:
Fiala06 wrote:AMC is only for torrent clients
No. Why would you think that?
Guess I missed the run from cmdline. My bad. I'm OK with CMD but no expert. :mrgreen:

So I could just use this and that's it correct? Can't wait to get off work and give this a try again.

Code: Select all

filebot -script fn:amc --output "C:\Media" --action copy -non-strict "C:\New" -def extractFolder=C:\New --def deleteAfterExtract=y  --log-file amc.log --def excludeList=amc.txt
User avatar
rednoah
The Source
Posts: 23925
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Trying to wrap my head around this

Post by rednoah »

Hit ENTER and see what happens! :lol:

Read the output. If it's full of warnings and errors, then copy & paste the output here.


PS: I'd start with the example as is just to confirm it's working, so that afterwards when you add your own customizations and mess up, you know exactly where to look.
:idea: Please read the FAQ and How to Request Help.
Fiala06
Posts: 3
Joined: 08 Nov 2016, 17:39

Re: Trying to wrap my head around this

Post by Fiala06 »

rednoah wrote:Hit ENTER and see what happens! :lol:

Read the output. If it's full of warnings and errors, then copy & paste the output here.


PS: I'd start with the example as is just to confirm it's working, so that afterwards when you add your own customizations and mess up, you know exactly where to look.
Thank you! I'll give it a try when I get home this evening. Was just looking for a place to start. :D
Post Reply