Skip to content

Instantly share code, notes, and snippets.

@0x4a
Created March 10, 2014 13:37
Show Gist options
  • Save 0x4a/9465054 to your computer and use it in GitHub Desktop.
Save 0x4a/9465054 to your computer and use it in GitHub Desktop.
use rsync to copy files locally #backup #cli
#!/bin/bash
rsync -rvhW --no-compress --size-only --progress <source> <destination>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment