Add SuperDuper! before copy script

This commit is contained in:
Sami Samhuri 2022-04-23 17:45:02 -07:00
parent f170a9f020
commit 95644ad0bb
No known key found for this signature in database
GPG key ID: 4B4195422742FC16

7
sd-before-copy Executable file
View file

@ -0,0 +1,7 @@
#!/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