Skip to content

Monthly Archives: September 2007

Show Drive Letters First via Group Policy

Ever noticed how Windows Explorer, by default, shows the drive letter after the label. For example:
\\longservername.subdomain.domain\AllOurData M:
The problem with this is that in some dialogs you can’t see the drive letter. Wouldn’t it be better if it did it the other way around:
M: \\longservername.subdomain.domain\AllOurData
Here’s how you can change that using group policy. First you [...]

Configuring L2TP Support on a Cisco ISR Router

Instructions
I consulted a number of sites on the Internet when I was attempting to configure L2TP on a Cisco router. I found many people with the same issues I had but no complete solution. In the end, my problem was that I needed an access list (see access-list 130 below).
Below is an example of a [...]

Copying a directory tree in Unix or Linux

cd to the parent of the source directoryUse the following command:

tar -cf – sourcedir | "cd destdirparent && tar -xf -"
where:
sourcedir is the directory to copy
destdirparent is the parent directory to copy the directory to
The -f – option tells tar to write the archive to stdout or read the archive from stdin as the case [...]

Using ssh to copy a directory tree from one host to another

From the source host:cd to the parent directory
Use the following command:

tar cf – sourcedir | ssh username@destination "cd destdirparent && tar xf -"
where:
sourcedir is the directory to copy
username is your username on the remote (destination) host
destdirparent is the parent directory on the remote (destination) host