diff options
author | Emile <git@emile.space> | 2022-01-09 13:32:02 +0100 |
---|---|---|
committer | Emile <git@emile.space> | 2022-01-09 13:32:02 +0100 |
commit | a299442fa50d2571f426b396a3d23e0b3f24da7b (patch) | |
tree | d1d06125214fd1b39d96b8746b03830e3ea9271c /sync.sh |
initial commit
Diffstat (limited to 'sync.sh')
-rwxr-xr-x | sync.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sync.sh b/sync.sh new file mode 100755 index 0000000..67de082 --- /dev/null +++ b/sync.sh @@ -0,0 +1,5 @@ +# sync files +rsync -avz --delete ../emile.space/out/* root@nix1:/var/www/emile.space/ + +# fix perms +ssh root@nix1 chmod -R +r /var/www/emile.space/* |