mkdir + subdirs based on new dir in watched stopped working
Posted: Wed Oct 23, 2019 8:36 pm
the rules/embedded script worked previously
here is a link to video proof https://vimeo.com/368412750 that the rules worked in a previous version of hazel.
the rules are
the embedded script to run when triggered is
which would create folders in desired locations
However, NOW I get a notification error that hazel "shell script failed error processing shell script on file 'newDirName'"
I have changed the 'shell' path in 'ebedded path' from bash, zsh, sh, and fish. most fail, bash and sh will create all the Directories in the watched Directory.
any suggestions would be appreciated
here is a link to video proof https://vimeo.com/368412750 that the rules worked in a previous version of hazel.
the rules are
- Code: Select all
KIND IS FOLDER
DATE last Matched IS Blank
DATE created IS in the last 5 Mins
NAME MATCHES <date>tag
the embedded script to run when triggered is
- Code: Select all
/bin/zsh
mkdir -p $1/{Music,Fotos/{B\ Roll,80D,Timelapse},Video/{hyperlapse,zoom}}
which would create folders in desired locations
- Code: Select all
~/wacthedDir/NewDir($1)/Music
|-----/Fotos/B Roll
| |_/80D
| |_/Timelapse
|------/Video/Hyperlapse
|_/zoom
However, NOW I get a notification error that hazel "shell script failed error processing shell script on file 'newDirName'"
I have changed the 'shell' path in 'ebedded path' from bash, zsh, sh, and fish. most fail, bash and sh will create all the Directories in the watched Directory.
any suggestions would be appreciated