Skip to content

Commit

Permalink
Better files exclusion using rsync
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja committed Jul 14, 2021
1 parent 88b776d commit a3dfe67
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@ run_vm() {
copy_files_to_vm() {
rsync \
-avuzrtopgh \
--exclude _actions/ \
--exclude sol-11_4.ova \
--exclude sol-11_4-backup.zip \
--exclude sol-11_4.zip \
--exclude _actions/ \
--exclude _PipelineMapping \
--exclude _temp \
$PWD \
$SSH_HOST:/export/home/solaris && _sync=1 || _sync=0
if [ "$_sync" -eq 0 ]; then
Expand All @@ -108,7 +110,6 @@ copy_files_from_vm() {
rsync -avuzrtopgh \
"$SSH_HOST:/export/home/solaris/$CURRENT_DIR_BASENAME/*" \
$PWD
ls
}

run_prepare() {
Expand Down

0 comments on commit a3dfe67

Please sign in to comment.