Categoryproductivity

The fastest rsync over SSH options

When synchronizing a ton of data you don’t want to wait longer than really necessary! So I tested several suggestions found on the net and came up with the following:

rsync -aHxv --numeric-ids --delete --progress -e "ssh -T -c arcfour -o Compression=no -x" <source_dir> <user>@<dest>:<dest_dir>

This command is almost exactly what somaddict suggested on commandlinefu.com.

Optimizing/Compressing PDF Files

To reduce the size of a PDF, you may try run this command on a linux box:

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf

If the -dPDFSETTINGS=/ebook option produces too pixeled pictures, try -dPDFSETTINGS=/prepress, if you need an even smaller file size, try -dPDFSETTINGS=/screen.

© 2017 netmess

Theme by Anders NorenUp ↑