Skip to content

Instantly share code, notes, and snippets.

@hobbes3
Created January 16, 2019 07:03
Show Gist options
  • Save hobbes3/ec3f78145e29a217e827dd97d3707bb5 to your computer and use it in GitHub Desktop.
Save hobbes3/ec3f78145e29a217e827dd97d3707bb5 to your computer and use it in GitHub Desktop.
git pull cluster master mass find
find /opt/splunk/etc/master-apps/ -name ".git" -exec dirname {} \; | xargs -I {} sh -c "echo {}; git -C {} pull;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment