Skip to content

Instantly share code, notes, and snippets.

@Gabri
Created December 27, 2020 16:35
Show Gist options
  • Save Gabri/d66a10f2ad9d0254eb2fb5553f93c4d9 to your computer and use it in GitHub Desktop.
Save Gabri/d66a10f2ad9d0254eb2fb5553f93c4d9 to your computer and use it in GitHub Desktop.
[rsync] rsync commands #rsync #sync
# Testing rsync with dry-run
rsync --dry-run -vrhm --include='Bottino*/*' --include='*/' --exclude='*' ~/shared/jesse/strategies/ ~/ws/git/cry/jesse-py-strat
rsync --dry-run -vrhm --include='Trend*/*' --include='*/' --exclude='*' ~/shared/jesse/strategies/ ~/ws/git/cry/jesse-py-strat
rsync --dry-run -vrhm --include='Time*/*' --include='*/' --exclude='*' ~/shared/jesse/strategies/ ~/ws/git/cry/jesse-py-strat
# NO dry-run
rsync -vrhm --include='*/' ~/shared/jesse/custom_indicators/ ~/ws/git/cry/jesse-py-strat/custom_indicators
rsync -vrhm --include='Bottino*/*' --include='*/' --exclude='*' ~/shared/jesse/strategies/ ~/ws/git/cry/jesse-py-strat
rsync -vrhm --include='Time*/*' --include='*/' --exclude='*' ~/shared/jesse/strategies/ ~/ws/git/cry/jesse-py-strat
rsync -vrhm --include='Trend*/*' --include='*/' --exclude='*' ~/shared/jesse/strategies/ ~/ws/git/cry/jesse-py-strat
rsync -vrhm --include='*/' --exclude='*' ~/shared/jesse/custom_indicators ~/ws/git/cry/jesse-py-strat/custom_indicators
rsync -vrhm --include='*/' ~/shared/jesse/custom_indicators ~/ws/git/cry/jesse-py-strat/custom_indicators
rsync -vrhm --include='*/' ~/shared/jesse/custom_indicators/ ~/ws/git/cry/jesse-py-strat/custom_indicators
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment