Skip to content

Instantly share code, notes, and snippets.

@tonyOreglia
Created August 8, 2025 15:38
Show Gist options
  • Select an option

  • Save tonyOreglia/3ebdf74b8e0d5f104ae742daf2e3529e to your computer and use it in GitHub Desktop.

Select an option

Save tonyOreglia/3ebdf74b8e0d5f104ae742daf2e3529e to your computer and use it in GitHub Desktop.
#!/bin/sh
SERVER=dig-ocean-vps
DIR=/var/www/html/tonycodes.com/
rsync -avz --delete public/ ${SERVER}:${DIR}
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment