Just an update for a script in Zsh instead of Bash and rsync for Hugo.
zsh - the Z Shell - is the default terminal shell for newer macs replacing bash
this means zsh scripts need to change ..
Change first line from sh to zsh
|
|
my preferred rsync options are
-ah --stats --delete
so its silent, tells stats and deletes old files
follow the rest of the linkage .. to chmod and make executable
Linkage
Tags:Read more from my blog for an introduction and quick tips on developing in Hugo or UCTD.