Skip to content

Instantly share code, notes, and snippets.

@Ajnasz
Last active May 19, 2018 19:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ajnasz/3356db6fd0e81013927c9cf5821a73de to your computer and use it in GitHub Desktop.
Save Ajnasz/3356db6fd0e81013927c9cf5821a73de to your computer and use it in GitHub Desktop.
Download stuff from humble-bundle in batch
#!/bin/sh
wget -i files.txt
for i in *;do n=$(echo $i | sed -E 's/\?.+//'); mv "$i" "$n"; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment