Archivo de la categoría: bash

Errors using convert when getting a pdf. Solution is removing policies

user@machine:~/Pictures$ convert segadora* segadora.pdf ERROR LIKE: convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF’ @ error/constitute.c/IsCoderAuthorized/408. OR LIKE: convert-im6.q16: attempt to perform an operation not allowed by the security policy `gs’ @ error/delegate.c/ExternalDelegateCommand/362. SOLUTION: sudo … Seguir leyendo

Publicado en bash, Scripts | Deja un comentario

Converting a Website Theme on HTML to PHP (Unix terminal)

Creating a webpage (No CMS), you have downloaded a Theme with HTML files (index.html, contact.html…) and with its HTML links inside of them (<a href=”index.html)”>home</a><a href=”contact.html)”>Contact</a>). You want to change all to PHP but not by hand one by one. You need this: … Seguir leyendo

Publicado en bash, Scripts, website | Deja un comentario