Created
November 22, 2015 04:33
-
-
Save mohan43u/f0caacb6d25b7c3c9039 to your computer and use it in GitHub Desktop.
download files from archlinux svngit
This file contains 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
curl 'https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/xorg-server' | sed 's:/svntogit:\nhttp\://projects.archlinux.com/svntogit:g' | grep plain | sed "s/'.*//g" | while IFS='?' read url suffix; do name=$(basename $url); url="$url?$suffix"; curl -o "${name}" "${url}" ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment