Skip to content

Instantly share code, notes, and snippets.

View christophergorexyz's full-sized avatar

Christopher Gore christophergorexyz

View GitHub Profile
@christophergorexyz
christophergorexyz / textfind.sh
Created September 27, 2013 16:22
List files in the directory provided for the first argument that contain the text supplied in the second argument
find $1 -exec grep -l -d skip $2 {} \;
@christophergorexyz
christophergorexyz / full-html-mirror.sh
Last active December 20, 2015 11:19
A wget command for mirroring a single domain. This will recursively retrieve every image, script, and stylesheet loaded or linked to through HTML and CSS. Will rename urls with query strings at the end to *.html files. Can't scrape dynamic requests, like AJAX. Doesn't necessarily play nicely with windows and may require some additional URL rewri…
wget -mkpE -e robots=off --no-cookies --no-cache $1