Magic Command Lines

create multi-disc archive split to fit 15GB:

7z -mx=0 -v15g a archivename.7z inputdir 7z x archivename.7z.001

unzip zip multiple (multidisk) archive

# (eg. zipfile.zip, zipfile.z01, zipfile.z02....) 7z x zipfile.zip

diakritika ze zmrsenyho zipu na windows

port install unzip +iconv unzip -O cp852 prace_uchazecu.zip pak detox -v -s uncgi * #pak (jsou_li tam podslozky) detox -r -v -s uncgi * #pridat podtrzitka do nazvu misto mezer: for oldname in *; do newname=`echo $oldname | sed -e 's/ /_/g'`; mv "$oldname" "$newname"; done;

multiple JPEGs to PDF without recompression

# thx shadd pdfjam --a4paper *.jpg

another lsof:

fs_usage -w -f filesystem --- zobrazí aktuálně otevřený soubory

delete pdf pages

# where 13-31,341-349 are pages you wanna keep qpdf --empty --pages input.pdf 13-31,341-349 -- output.pdf

wget archive mirror site

wget --restrict-file-names=windows -r -l 0 -np -E -m -k --no-verbose http://hlucnasamota.net/

swaks -- swis knife for smtp - testovani smtp

cli word frequency analysis

cat YOUR_FILE|tr -d '[:punct:]'|tr '[:upper:]' '[:lower:]'|tr -s ' ' '\n'|sort|uniq -c|sort -rn EOF Comments requested ~~~~~~~~~ Binary Sxizophreny - index of comp related stuff Kangaroo's Homepage (czech)