I need to duplicate a directory structure on a SuSE 10.0 box -- not the files, just the directory tree.
I thought this would be pretty simple, using find, but I'm running into big issues because many (as in almost all) of the directories have spaces in their names. For the life of me I can't get the silly thing to put everything where it should be.
The current directory structure is something like the following: /tmp/origin /tmp/origin/folder one Use the cp(1) command with the -r (recursive) option. Note that -p also
On Thursday 27 July 2006 2:11 pm, Marlier, Ian wrote:
preserves permissions. Alternatively, rsync or even tar:
cd /tmp
mkdir /tmpdup
tar cf - . | (cd /tmpdup;tar xf -)
--
Jerry Feldman