Skip to content

Instantly share code, notes, and snippets.

@jasperf
Last active April 23, 2025 03:37
Show Gist options
  • Save jasperf/3bfca5be179b486e7b94e4c47a1ff88a to your computer and use it in GitHub Desktop.
Save jasperf/3bfca5be179b486e7b94e4c47a1ff88a to your computer and use it in GitHub Desktop.
Rsync Theme from Trellis setup to Theme repository
#!/bin/bash
rsync -av --delete \
--exclude 'node_modules/' \
--exclude 'vendor/' \
--exclude '.git/' \
--exclude '.github/' \
--exclude '.DS_Store' \
~/code/site.com/site/web/app/themes/theme-name/ \
~/code/site/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment