In need of a bit of shellish magic

Ted Roche tedroche at tedroche.com
Sat Jun 3 15:09:01 EDT 2006


On Jun 2, 2006, at 4:59 PM, Kevin D. Clark wrote:
> svnadmin dump /path/to/repos | gzip -9c >svndump`perl -e '($y,$m, 
> $d) = ((localtime)[5,4,3]); printf "%d%.2d%.2d", $y+1900, $m+1, $d'`

<rof,l>! Far more intuitive! Thanks to all!

Excellent answers, all, and informative to boot. Yes, I really did  
need to gzip and not tar.

Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com





More information about the gnhlug-discuss mailing list