Skip to content

Instantly share code, notes, and snippets.

@nosoop
Created July 5, 2016 09:50
Show Gist options
  • Save nosoop/07b8304f08f9daf1cbbb324a43769d87 to your computer and use it in GitHub Desktop.
Save nosoop/07b8304f08f9daf1cbbb324a43769d87 to your computer and use it in GitHub Desktop.
test to see what files would be added to a tarball
#!/bin/bash
tar cvf - -C / /srv/ 2>&1 > /dev/null | less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment