Skip to content

Instantly share code, notes, and snippets.

@Janfy
Last active December 17, 2015 13:58
Show Gist options
  • Save Janfy/5620665 to your computer and use it in GitHub Desktop.
Save Janfy/5620665 to your computer and use it in GitHub Desktop.
rsync entre 2 répertoires en donnant la liste des fichiers à synchroniser
rsync -rcv --include-from=rsync-pattern.txt --exclude='*' --delete-excluded ~/repertoire1/ ~/repertoire2/
file1.txt
file2.jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment