Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Download page with CSS/JS/IMG folder structure
# recursive download all page and linked subpages
wget -p -N -r -np
# mass rename files
rename -v 's/\.php/\.html/' *.php
# batch replace text in files (recursive)
find . -type f -exec sed -i 's/.php/.html/g' {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.