Process files in subfolders

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
HarveyBirdman
Posts: 2
Joined: 14 Jul 2016, 11:58

Process files in subfolders

Post by HarveyBirdman »

I'm sure I'm missing something super-simple here. Script below works fine for any files in F:\utorrent\Completed but some torrents download with subfolders and I can't get it to pick up any files within those subfolders (having to manually move files up to the root then run script in CMD).

filebot -script fn:amc --output "F:\XBMC" --log-file amc.log --action move -non-strict "F:\utorrent\Completed" --def excludeList=amc.txt --def clean=y

Any help would be greatly appreciated, new to this and trying to get my head around variables.

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

Re: Process files in subfolders

Post by rednoah »

Thanks for the post! Before a real human comes by, please make sure your report has all the following points checked:
  • Include screenshots, logs or filenames (i.e. demonstrate the issue)
  • Include basic information (i.e. sysinfo output)
:idea: Please read How to Request Help and Fix Problems, Report Bugs, Get Features
:idea: Please read the FAQ and How to Request Help.
HarveyBirdman
Posts: 2
Joined: 14 Jul 2016, 11:58

Re: Process files in subfolders

Post by HarveyBirdman »

Thanks for the response, I've copied out the run command from qbittorrent and pasted into CMD to test, it is successful with individual files in the completed folder but anything that appears in a subfolder is ignored:

Code: Select all

C:\Users\MediaServer>filebot -script fn:amc --output "F:\XBMC" --log-file amc.log --action move -non-strict "%R" "F:\utorrent\Completed" --def excludeList=amc.txt --def clean=y
Locking C:\Users\MediaServer\AppData\Roaming\FileBot\logs\amc.log
Run script [fn:amc] at [Thu Jul 28 16:13:52 BST 2016]
Parameter: excludeList = amc.txt
Parameter: clean = y
Argument: C:\Users\MediaServer\%R
Argument: F:\utorrent\Completed
File not found: C:\Users\MediaServer\%R
Failure (┬░_┬░)
sysinfo:

Code: Select all

C:\Users\MediaServer>filebot -script fn:sysinfo
FileBot 4.7 (r3923)
JNA Native: 4.0.1
MediaInfo: MediaInfoLib - v0.7.78
7-Zip-JBinding: 9.20
Jul 28, 2016 4:32:03 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Chromaprint: fpcalc version 1.1.0 (C:\Program Files\FileBot\fpcalc.exe)
Extended Attributes: OK
Groovy Engine: 2.4.6
JRE: Java(TM) SE Runtime Environment 1.8.0_101
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 2 Core / 1 GB Max Memory / 20 MB Used Memory
OS: Windows 10 (amd64)
Package: MSI
Data: C:\Users\MediaServer\AppData\Roaming\FileBot
Done ?(?????)?
Cheers!
HB
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Process files in subfolders

Post by rednoah »

Your command-line template doesn't look like it's following the official qBT example usage. I'd try that first.

Please follow the instructions:
viewtopic.php?f=4&t=215#p9774

Also, please read the Troubleshooting section which explains why your test run isn't working.
:idea: Please read the FAQ and How to Request Help.
Post Reply