Skip to content

Instantly share code, notes, and snippets.

@anirudh-ramesh
Last active October 4, 2019 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anirudh-ramesh/7173a96b1b49ea9f7e580822e9b70afd to your computer and use it in GitHub Desktop.
Save anirudh-ramesh/7173a96b1b49ea9f7e580822e9b70afd to your computer and use it in GitHub Desktop.
Library of Shell scripts
ls -v | cat -n | while read n f; do mv -n "$f" "$n.png"; convert "$n.png" "$n.pdf"; done
wget --no-clobber --convert-links --random-wait -r -p -E -e robots=off -U mozilla <link>
wget -r --no-parent --reject "index.html*" <link>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment