Skip to content

Instantly share code, notes, and snippets.

@xymostech
Created August 5, 2014 22:13
Show Gist options
  • Save xymostech/ae7a3c849208a9628700 to your computer and use it in GitHub Desktop.
Save xymostech/ae7a3c849208a9628700 to your computer and use it in GitHub Desktop.
Syncing Huxley screenshots from a remote docker
#!/usr/bin/env bash
echo "Syncing KaTeX directory there"
rsync --recursive --delete --links ./* KADev:docker-huxley/KaTeX/
echo "Running docker-huxley"
ssh -t KADev sudo docker run -v /home/xymostech/docker-huxley/KaTeX:/KaTeX -i -t xymostech/huxley
echo "Syncing KaTeX directory back again"
rsync --recursive KADev:docker-huxley/KaTeX/test/huxley/* ./test/huxley/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment