dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | Submodules | README | LICENSE

sync-adamsgaard.dk.sh (301B)


      1 #!/bin/sh
      2 host=ad@adamsgaard.dk:/var/www/domains/adamsgaard.dk
      3 localdir="$HOME/code/adamsgaard.dk"
      4 
      5 echo "syncing new content to $host"
      6 rsync --update -rav --progress -e "ssh" "$localdir"/* "$host"/
      7 
      8 echo "syncing new content from $host"
      9 rsync --update -rav --progress -e "ssh" "$host"/* "$localdir"/