Skip to content

Instantly share code, notes, and snippets.

@dextermb
Created May 31, 2018 13:24
Show Gist options
  • Save dextermb/025f14990215494adc2ea764465dafb7 to your computer and use it in GitHub Desktop.
Save dextermb/025f14990215494adc2ea764465dafb7 to your computer and use it in GitHub Desktop.
find / -regex “.*\.\(pem\|p12\|pfx\|pkcs12\|crl\|crt\|der\|cert\|cer\|key\|csr\)" > ~/Desktop/log
cat ~/Desktop/log | xargs -I % echo cp % /Volume/restricted/pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment