Renaming amc.log file

Running FileBot from the console, Groovy / FileBot scripting, shell scripts, etc
Post Reply
dma
Posts: 1
Joined: 10 Dec 2019, 02:35

Renaming amc.log file

Post by dma »

I’m trying to create a daemon to run a script that renames the FileBot amc.log file every Sunday morning so the log file is easier to navigate when Im looking for something. No matter what I try, I keep getting permissions issues. Anyone have any suggestions? My one line script:

mv /users/David/.filebot/logs/amc.log amc_$(date +%Y%m%d).log

Problem is, I keep getting a permissions denied error. Works fine if I manually run in terminal.
Post Reply