diff options
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/lsync | 8 | ||||
-rwxr-xr-x | .local/bin/pksync | 5 |
2 files changed, 10 insertions, 3 deletions
diff --git a/.local/bin/lsync b/.local/bin/lsync new file mode 100755 index 0000000..bc0f140 --- /dev/null +++ b/.local/bin/lsync @@ -0,0 +1,8 @@ +#!/bin/sh +# Push to luevano.xyz + +echo "rsync: pushing (U) local (lz) to webserver (lzserver)." +rsync -rtuvP --delete-after $HOME/dox/www/luevano/ lzr:/var/www/luevano/ + +# echo "rsync: pulling (U) webserver (lzserver) to local (lz)." +# rsync -rtuvP lzr:/var/www/luevano/ $HOME/dox/www/luevano diff --git a/.local/bin/pksync b/.local/bin/pksync index 3d99ee3..074d6ea 100755 --- a/.local/bin/pksync +++ b/.local/bin/pksync @@ -1,9 +1,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/java/pkitp/.rsyncignore $HOME/code/java/pkitp/ pk:/home/dla/pkitp +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/java/pkitp/.rsyncignore pk:/home/dla/pkitp/ $HOME/code/java/pkitp +rsync -rtuvP --exclude-from=$HOME/code/pk/pkitp/.rsyncignore pk:/home/dla/pkitp/ $HOME/code/pk/pkitp |