[LINUX] One-line MyBB download/extract-er
#15
Here's the successful (once I updated aria2 from 1.9.0 to 1.11.1 [the bug was fixed in 1.9.3]) aria2 command as well:

Requires aria2 v1.9.3 or above
aria2c 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

Notice aria and curl are exactly alike other than the command name.
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)