If you don’t appreciate your WordPress blog too much you can upgrade to latest version this way:

curl -s http://wordpress.org/latest.tar.gz | tar zxv > /dev/null && \
cp -rf wordpress/* . && rm -rf wordpress/* && rmdir wordpress

P.S.: I regularly shoot myself in the foot.



  1. Explicaloooooorrrrr!

  2. A jrandes rasgos:
    Lo que se baja curl se lo enchufas a tar y le dices que no saque info por pantalla, tendrás un directorio wordpress del que copias todos los archivos a tu instalación actual, eliminas los archivos del directorio wordpress y eliminas el directorio wordpress. Seguramente se pueda hacer con menos comandos, pero funciona.

Dejar un comentario



About Raúl

Raúl Ochoa, a spaniard working for Yahoo! in London, UK. More about me.

Subscribe to the feed

If you want to receive a notification when I update the website, you only have to add the feed to your reader, or submit your email address and I'll let you know.

Twitter

Raúl's Twitter: @arpia49 Escribe! in reply to arpia49 1 day ago

Categories