Created
May 5, 2016 00:35
-
-
Save saxenap/be4cecae2ec4b1393da4d8172dd22164 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find / -xdev -type f -exec grep -rlPo '(?<=href=")[^"]*/index.html' -l {} \; -exec sed -i 's/index.html//g' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment