Hi, I need some help in a very simple rule. I don't know why my shell script doesn't work in a rule. It works fine and well on Terminal. It's a very simple command to move a file to a folder. I don't use Hazel move action because the folder name is different every year. This is my command:
/bin/mv $1 "/Volumes/XXXXX/YYYYY/TTTTT/RRRRR/FFFFF/YEAR$(date -v+1y +%Y)/Documents"
I've verified 1 million times and I don't know what's wrong!!!
Thanks in advance for your help!!