diff options
author | davidovski <david@davidovski.xyz> | 2022-05-15 17:03:28 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-15 17:03:28 +0100 |
commit | e5b726782e317ae4306a34d065171fd66a417186 (patch) | |
tree | d3bd2df93184daff38ea31ee593e695e40f59e38 /sync.sh | |
parent | b273972f3fcbc84c9114d32646c2ae3e46dd1590 (diff) |
removed broken bootstrap
Diffstat (limited to 'sync.sh')
-rwxr-xr-x | sync.sh | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +#!/bin/bash + +source xib_env + +sync () { + for i in $@; do + echo "syncing from $XIB_EXPORT to $i" + [[ $# = 0 ]] || rsync -Lta --no-perms --no-owner --no-group --delete -z -e ssh "$XIB_EXPORT/" $i + done; +} + +sync oracle2:/srv/www/xi/html/ cheetah:/srv/www/xi/html/ + |