summaryrefslogtreecommitdiff
path: root/.local/bin/pksync
blob: 074d6ea214a08c510f09b32f2f9eaef282abec5e (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
# Sync files between local pc and remote pk server.

echo "rsync: pushing (U) local (lz) to remote (pk)."
rsync -rtuvP --exclude-from=$HOME/code/pk/pkitp/.rsyncignore $HOME/code/pk/pkitp/ pk:/home/dla/pkitp

echo "rsync: pulling (U) remote (pk) to local (lz)."
rsync -rtuvP --exclude-from=$HOME/code/pk/pkitp/.rsyncignore pk:/home/dla/pkitp/ $HOME/code/pk/pkitp