diff options
| author | Mitsuo Tokumori <[email protected]> | 2023-11-24 23:40:38 -0500 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2023-11-24 23:40:38 -0500 |
| commit | 18c144fea4878be121a7daf1e2a1b447f7100161 (patch) | |
| tree | b34313753ebb3cbec35279672fd968a846df0615 /local/bin/updatewebsite.sh | |
| parent | bfd1c106d25bb1f1d98ef39230a47aa7af84606e (diff) | |
| download | dotfiles-18c144fea4878be121a7daf1e2a1b447f7100161.tar.gz dotfiles-18c144fea4878be121a7daf1e2a1b447f7100161.tar.bz2 dotfiles-18c144fea4878be121a7daf1e2a1b447f7100161.zip | |
Add some old scripts I use
Diffstat (limited to 'local/bin/updatewebsite.sh')
| -rwxr-xr-x | local/bin/updatewebsite.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/local/bin/updatewebsite.sh b/local/bin/updatewebsite.sh new file mode 100755 index 0000000..71c99b2 --- /dev/null +++ b/local/bin/updatewebsite.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# This script syncs local files to my VPS + +# Thank you: https://unix.stackexchange.com/a/2503/347754 +options="-uvrPs --delete-after --copy-links" +targetdir="tokumori.xyz:/var/www" + +rsync $options /home/mitsuo/mahcode/www/tokumori.xyz $targetdir |
