Skip to content

Instantly share code, notes, and snippets.

@hijaq
Last active August 28, 2016 18:43
Show Gist options
  • Save hijaq/37667dc2c8f97773313e6ae5647ceba7 to your computer and use it in GitHub Desktop.
Save hijaq/37667dc2c8f97773313e6ae5647ceba7 to your computer and use it in GitHub Desktop.
Compare content of two folders recursively
#!/bin/sh
# Compare content of two folders recursively, without MacOS X specific files and ignore attributes/user/group
rsync --dry-run --no-perms --no-owner --no-group --no-times --exclude=.DS_Store --exclude=._* -v -r -c <source> <destination>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment