Recursively copy files and their permissions

February 24, 2004

# cd /oldir
tar cf - . | (cd /newdir ; tar xf -)

This is the best way to totally preserve a copy of a directory tree between the current directory and /newdir

The Next Move Is Yours

Stop Guessing. Start Leading.

Make your next IT decision the right one.