Page 1 of 1
Store Report in TEXT file
Posted: 14 Apr 2020, 11:54
by Keven07
I m using amc script and use --def storeReport but it's create new html file for every oppression
can i save all
Original Name |
New Name |
New Location data in same txt or html file ?
Like This :
Original Name | New Name | New Location
Code: Select all
Help!.1965.720p.BluRay.x264.AAC-[YTS.MX].mp4 mp414831.mp4 C:\Users\box1\Downloads
Help!.1966.720p.BluRay.x264.AAC-[YTS.MX].mp4 mp414832.mp4 C:\Users\box1\Downloads
Help!.1967.720p.BluRay.x264.AAC-[YTS.MX].mp4 mp414833.mp4 C:\Users\box1\Downloads
Help!.1968.720p.BluRay.x264.AAC-[YTS.MX].mp4 mp414834.mp4 C:\Users\box1\Downloads
Re: Store Report in TEXT file
Posted: 14 Apr 2020, 12:01
by rednoah
You can query the history anytime after the fact to generate this file:
viewtopic.php?p=2459#p2459
Re: Store Report in TEXT file
Posted: 14 Apr 2020, 12:10
by Keven07
can i use -script fn:amc fn:history both same time ?
Re: Store Report in TEXT file
Posted: 14 Apr 2020, 12:13
by rednoah
Nope. But you can call them one after another.
Re: Store Report in TEXT file
Posted: 14 Apr 2020, 12:27
by Keven07
i m using qbittorrent run external program parameters how can i set
Re: Store Report in TEXT file
Posted: 14 Apr 2020, 12:30
by Keven07
like this ?
Code: Select all
"C:\Program Files\FileBot\filebot.launcher.exe" -script fn:amc --output C:/Users/box1/Downloads --action duplicate --conflict skip -non-strict --log-file "C:\Users\box1\Downloads\logs.log" --def excludeList=reports.txt --def pushbullet=key --def ignore="[.]srt" --def "seriesFormat=C:\Users\box1\Downloads\Upload TVShows\tv_show\{n.replaceTrailingBrackets().space('.')}\{n.replaceTrailingBrackets().space('.')}.{s00e00}" "movieFormat=C:\Users\box1\Downloads\Upload Movies\tv_show\{ext}{id}" unsorted=y music=y "ut_dir=%F" "ut_kind=multi" "ut_title=%N" "ut_label=%L"
"C:\Program Files\FileBot\filebot.launcher.exe" -script fn:history --format "${from.name}\n${to.name}\n > history.txt"
EDIT : it's give error
Code: Select all
java.nio.file.InvalidPathException: Illegal char <>> at index 0: >: >
File does not exist: history.txt
Done ヾ(@⌒ー⌒@)ノ
Done ヾ(@⌒ー⌒@)ノ
Re: Store Report in TEXT file
Posted: 14 Apr 2020, 14:04
by rednoah
1.
qBT will only accept one command. You can't paste in multiple commands.
2.
Your command is syntactically incorrect, unrelated to FileBot. Please read up on the basics:
https://ss64.com/nt/syntax-redirection.html
Re: Store Report in TEXT file
Posted: 14 Apr 2020, 14:14
by Keven07
Re: Store Report in TEXT file
Posted: 14 Apr 2020, 14:24
by rednoah
Sure, you can always write your own .bat script and run any number of commands. You just need to pass along %variables from the qBT call, to the
amc script call within your .bat script. Some .bat scripting skills will be required there.
Re: Store Report in TEXT file
Posted: 14 Apr 2020, 14:29
by Keven07
rednoah wrote: ↑14 Apr 2020, 14:24
Sure, you can always write your own .bat script and run any number of commands. You just need to pass along %variables from the qBT call, to the
amc script call within your .bat script. Some .bat scripting skills will be required there.
thanks for help
hahaha ur mind reader

just made .bat and Boom
