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 <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com