Archivo de la categoría: Scripts
BIMP! SAME REPETITIVE EDITION FOR MANY IMAGE FILES WITH GIMP? GIVE A CHANCE TO BIMP AND SAVE LIFE!
This is my case. I was scanning old drawings mainly to not to lose them if I want to reccle their paper and get empty space. Small amount of image files is affordable to crop one by one…but what happens … Seguir leyendo
Thank you Stellar!
Multiple PDF files to reduce their size using Ubuntu? Ghostscript!
Open a bash console and in the folder of the PDF files create a file and copy paste this script: for input in *.pdf ; dogs \-o Analisis-${input} \-sDEVICE=pdfwrite \-dCompatibilityLevel=1.4 \-dPDFSETTINGS=/ebook \-dNOPAUSE \-dQUIET \-dBATCH \${input}done Execute the file ‘./nameOfFile’ Done! … Seguir leyendo
Do you want to improve, or just refresh your developer skills?
https://www.freecodecamp.org/ helps people learn to code for free! Enjoy
Errors using convert when getting a pdf. Solution is removing and editing 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
Convert multiple video files into another format. With linux, of course…
If you only want to convert, for example, MKV to MP4 then you will save quality and a lot of time by just changing the containers. Both of these are just wrappers over the same content so the CPU only … Seguir leyendo
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
Script para shell que busca un string en el interior de archivos
Para generar crear el script…lo de siempre…crea el archivo vacío con touch «nombre_script», ábrelo con un buen editor de textos, como el VI, y después de copiar el código de este post, haz en VI un CTRL+SHIFT+V pegándolo. Salva con … Seguir leyendo