[LINUX] One-line MyBB download/extract-er
Just for curiosity I just tried it with aria2 (aria2c command), and curl. Results:

aria2: Failure, there is a bug in my version of aria2 relating to Content-Disposition headers.
curl: Success

Working curl download line
curl http://www.mybb.com/download/latest -o mybb.zip && unzip mybb.zip "Upload/*" && mv Upload/* . && rm -Rf Upload mybb.zip && mv inc/config.default.php inc/config.php && chmod -R 0777 cache uploads inc/settings.php inc/config.php

On another note:
wget is available easily for Windoze too... too bad the full *NIX command line capabilities of BASH (or whatever your favorite shell is) and all the little utils we're using here (unzip, mv, rm, & chmod) aren't available for Windoze.

Messages In This Thread
RE: [LINUX] One-line MyBB download/extract-er - by Dylan M. - 2011-04-25, 07:57 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)