Search found 6 matches
- 05 Aug 2026, 10:56
- Forum: Scripting and Automation
- Topic: Post Rename Reference
- Replies: 9
- Views: 5150
Re: Post Rename Reference
:idea: Looks like PowerShell doesn't like [...] in >> file paths...
:arrow: Try this:
filebot -script fn:amc ... --def exec="Add-Content -LiteralPath {quote defines.myLogFile} -Value {quote f}" --def myLogFile="T:/FileBot/Logs/%title%.txt"
** using -LiteralPath instead of -Path is the key ...
- 05 Aug 2026, 10:04
- Forum: Scripting and Automation
- Topic: Post Rename Reference
- Replies: 9
- Views: 5150
Re: Post Rename Reference
:!: Your doing this on Windows!? With Windows CMD no less!? I don't usually use emoji... but... 🤯
Haha, yep! It's the only bit of Windows left in my server environment. I'll no doubt make a move away from it at some point, but I'm not there yet.
In the meantime, I'll bask in the gentle glow of ...
- 05 Aug 2026, 04:42
- Forum: Scripting and Automation
- Topic: Post Rename Reference
- Replies: 9
- Views: 5150
Re: Post Rename Reference
Hi RedNoah
:!: AFAIK, a process called by your bash script (i.e. filebot ) fundamentally cannot modify (i.e. write back variables) to the parent process.
yeah, that's where my thoughts were leading to as well, but thought I'd ask anyway.
:?: What exactly do you need to do? Why pass information ...
:!: AFAIK, a process called by your bash script (i.e. filebot ) fundamentally cannot modify (i.e. write back variables) to the parent process.
yeah, that's where my thoughts were leading to as well, but thought I'd ask anyway.
:?: What exactly do you need to do? Why pass information ...
- 01 Aug 2026, 00:51
- Forum: Scripting and Automation
- Topic: Post Rename Reference
- Replies: 9
- Views: 5150
Re: Post Rename Reference
Hi RedNoah
Life's been busy but I've recently had time to come back to this. I can see the below command is now showing me the filepath in the logs:
filebot -script fn:amc ... --def exec="echo {quote f}"
I run your AMC script from a bash script and I'm trying to get that filepath back into my ...
Life's been busy but I've recently had time to come back to this. I can see the below command is now showing me the filepath in the logs:
filebot -script fn:amc ... --def exec="echo {quote f}"
I run your AMC script from a bash script and I'm trying to get that filepath back into my ...
- 30 May 2026, 07:22
- Forum: Scripting and Automation
- Topic: Post Rename Reference
- Replies: 9
- Views: 5150
Re: Post Rename Reference
The -exec custom post-process commands manual is a good way to get started with custom post-process commands.
e.g.
-exec /path/to/script.sh {f} {historic.f} {json}
{f} is the new file path
{historic.f} is the previous file path
{json} is the xattr metadata
Excellent, that I can have a ...
- 30 May 2026, 06:15
- Forum: Scripting and Automation
- Topic: Post Rename Reference
- Replies: 9
- Views: 5150
Post Rename Reference
Hi Rednoah
It's taken a while to figure it out but I've got your AMC script working as the part of a larger process. Pretty neat!
I'm wondering if there is a way to reference the file\ folder after AMC has renamed it?
Example: AMC sees the title from qbt using this reference "ut_title=%N", but "ut ...
It's taken a while to figure it out but I've got your AMC script working as the part of a larger process. Pretty neat!
I'm wondering if there is a way to reference the file\ folder after AMC has renamed it?
Example: AMC sees the title from qbt using this reference "ut_title=%N", but "ut ...