Friday, September 26, 2008

Using netsh for IP config import/export

2 lines only:

netsh -c interface dump > filename

netsh -f filename

Ref: http://www.alibutt.com/?p=250

Some more about netsh to read at http://www.builderau.com.au/program/windows/print.htm?TYPE=story&AT=339272916-339024644t-320000994c

Sync multiple git repo at once

Use the following command in Linux will do the job:  ls -d RepoNames* | xargs -I{} git -C {} pull