summaryrefslogtreecommitdiff
path: root/.local/bin/pksync
blob: 3d99ee38c7230434e0ea47887f76f94817bf77cb (plain)
1
2
3
4
5
6
7
8
9
#!/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/java/pkitp/.rsyncignore $HOME/code/java/pkitp/ pk:/home/dla/pkitp

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