Created
November 25, 2018 19:16
-
-
Save myfonj/ee82a383e8452dfb211fd46f2d1bab78 to your computer and use it in GitHub Desktop.
ezwinports bulk download and extract
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
// prereqs: modern browser, wget, 7zip, text editor | |
// navigate to: | |
https://sourceforge.net/projects/ezwinports/files/ | |
// press: | |
ctrl+shift+k | |
// type/paste, enter | |
copy($$('[href$="-bin.zip/download"],[href$="README.txt/download"]').map(e=>e.href).join('\n')) | |
// paste into file | |
ezwinports.txt | |
// sort lines | |
// search for duplicate entries (multiline,regex) | |
(https://sourceforge.net/projects/ezwinports/files/[^-]+)-.+\n(\1.+\n)+ | |
// delete unwanted | |
wget --continue --content-disposition --trust-server-names -i ezwinports.txt | |
for %i in (*.zip) do c:\apps\7-Zip\7z.exe x %i -oc:\path\to\ezwinports -aoa | |
// set %path%=c:\path\to\ezwinports\bin;%path% | |
// thanks for pointers: https://gujiaxi.com/2015/12/10/ezwinports-on-windows.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I cant run my "make" file projects