added script to sync with yblog

parent 9db5c87d
#!/usr/bin/env zsh
err() { print -- $* >&2; exit 1}
[[ -e $yblogdir ]] || err "Can't find $yblogdir"
print -- "Generating ymd file"
./ > $yblogdir/multi/blog/
for lang in fr en; do
print -- "Copying LHS files ($lang)"
rsync -amv --include '*/' --include='*.lhs' --exclude='*' . $yblogdir/content/Scratch/${lang}/blog/Haskell-the-Hard-Way/code/
print -- "Don't forget to publish the change."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment