bin/sd-before-copy

7 lines
395 B
Bash
Executable file

#!/bin/zsh
# Redirect stderr to stdout because SuperDuper! interprets any output to stderr as a failure.
# Mystifying decision but whatever. Easy to work around it.
# For some reason we have to explicitly set LC_CTYPE for jsonpretty to work in the feedbin plugin.
# Again, whatever.
sudo -i -u sjs <<<'source ~/.zshrc && cd ~/Developer/vortex && LC_CTYPE=en_US.UTF-8 script/vortex ingest' 2>&1