Guest User

Untitled

a guest
Jun 24th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. if [ ! -d "$PROJECT" ] || [ ! -d "$TOMCAT" ]; then
  2. exit
  3. fi
  4.  
  5. replace="$TOMCAT/webapps/jhire"
  6. target="${TM_FILEPATH/$PROJECT/$replace}"
  7.  
  8. echo "Syncing current file…"
  9. rsync -arv $TM_FILEPATH $target
Add Comment
Please, Sign In to add comment