Skip to content

Commit

Permalink
Merge pull request #94 from hathitrust/test-rsync
Browse files Browse the repository at this point in the history
DEV-1248: Add rsync
  • Loading branch information
carylwyatt authored Jul 18, 2024
2 parents fc19c80 + f7650f1 commit 4ed3d96
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 24 deletions.
24 changes: 0 additions & 24 deletions bin/rdist.app

This file was deleted.

19 changes: 19 additions & 0 deletions bin/rsync.app
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

DEST_PREFIX=$1
shift

DEPLOY_DEST=${DEST_PREFIX}babel/firebird-common
DEPLOY_SRC=/htapps/test.babel/firebird-common

INCLUDE=$(cat <<EOT
$DEPLOY_SRC/dist
EOT
)

EXCLUDE=$(cat <<EOT
--exclude index.html
EOT
)

/usr/bin/rsync "$@" $EXCLUDE $INCLUDE $DEPLOY_DEST

0 comments on commit 4ed3d96

Please sign in to comment.