Skip to content

Instantly share code, notes, and snippets.

@v801
Last active October 26, 2018 06:36
Show Gist options
  • Save v801/1d10f7131e4bf814ac3a7f47033b60e3 to your computer and use it in GitHub Desktop.
Save v801/1d10f7131e4bf814ac3a7f47033b60e3 to your computer and use it in GitHub Desktop.
sync script
#!/bin/bash
date "+%n%Y-%m-%d // %I:%M:%S"
rsync --ignore-existing -raz --progress /full/path/to/source/ /full/path/to/destination/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment