Page 1 of 1

Change unsorted folder location

Posted: 11 May 2019, 11:26
by aktersnurra95
I'm using AMC to sort my media from my nzb output folder.
I have unsorted=y so that it moves files out of the folder if it fails to sort it.
But the unsorted folder gets paced in the path from where the script is run which is on a drive with pretty low space and I can't have a bunch of media files stack up on that drive.

Is there a way to specify a directory where you want the unsorted files to go?
And how would you about doing that?

(Running on windows btw, don't know if it makes any difference but anyway)

Thanks in advance!

Re: Change unsorted folder location

Posted: 11 May 2019, 11:49
by rednoah
1.
What is your current command?


2.
--output is used as absolute base path for all relative formats.

Code: Select all

--output "X:/Media"

Re: Change unsorted folder location

Posted: 11 May 2019, 11:57
by aktersnurra95
Ah, that would do it, I skipped --output since all my other paths in the script are absolute.
How foolish of me...

Thank you for the help!
You're always here when we need you, cheers!

Re: Change unsorted folder location

Posted: 11 May 2019, 12:01
by rednoah
I recommend getting started by copy & pasting from the examples, and then modifying that to your needs:
viewtopic.php?t=215#p1561

Re: Change unsorted folder location

Posted: 11 May 2019, 12:04
by aktersnurra95
Yeah I did, but I removed everything that I 'thought' I didn't need.
But its all good now, added it back and everything works as I want!
Cheers, Noah!
Filebot is a lifesaver!

Re: Change unsorted folder location

Posted: 12 May 2019, 01:27
by aktersnurra95
Hey @rednoah !
A follow up, what would I type in input to select the folder where the script was ran from?
I want to have a mobile script that I can run from any folder and sort the files in that folder.

I haven't been able to find out how to do it, all my attempts with different signs and figures have all failed.

Cheers!

Re: Change unsorted folder location

Posted: 12 May 2019, 04:36
by rednoah
. refers to the current working directory:

Code: Select all

.
e.g.

Code: Select all

filebot -mediainfo .
:idea: . is a shell thing, not a FileBot thing ;)

Re: Change unsorted folder location

Posted: 12 May 2019, 10:03
by aktersnurra95
Hmm.. That's the first I tried, threw a bunch of errors.
I'll try again and check the log.