Skip to content

Instantly share code, notes, and snippets.

@nascimento
Last active October 21, 2015 15:33
Show Gist options
  • Select an option

  • Save nascimento/16168a1517716e039571 to your computer and use it in GitHub Desktop.

Select an option

Save nascimento/16168a1517716e039571 to your computer and use it in GitHub Desktop.
Find to add .conf from apache update from 2.2 to 2.4
find . -name '*_ssl*' -exec sh -c 'cat "$1" "${1%_ssl.conf}.conf" > "${1%_ssl.conf}.diff.conf" && mv "${1%_ssl.conf}.diff.conf" "${1%_ssl.conf}.conf" && rm "$1"' _ {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment