Szybkie notatki administratora

Lipiec, 2013

Kopiowanie dużej liczby plików

When I have to copy a large amount of data, I usually use a combination of tar and rsync. The first pass is to tar it, something like this: <code># (cd /src; tar cf – .) | (cd /dst; tar xpf -) </code> Usually with a large amount of files, there will be some that […]

Rozbicie logów squid

awk -F. '{print >> „log” $4}' squid.log Rozbicie wg trzeciego oktetu numeru IP