Date: Wed, 21 Dec 2005 20:25:16 -0300 From: "Mario Lobo" <mlobo@digiart.art.br> To: Doug Barton <dougb@freebsd.org> Cc: hackers@freebsd.org Subject: Re: copy directory structure Message-ID: <43A9BA2C.21442.189E2F@localhost> In-Reply-To: <43A9C9D7.40506@FreeBSD.org> References: <79e2026f0512211237i4cdd2c70yc0923959d7ec1c98@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
use this: tar -vpcf - -C source-dir . | tar xpf - -C destination-dir destination-dir must exist. This will copy everything inside source-dir to destination-dir. -- //| //|| // | // || -//--//--|| ARIO LOBO // // || --------------------------------- mlobo@digiart.art.br http://www.digiart.art.br/MarioLobo/ http://www.mallavoodoo.com.br > Ashok Shrestha wrote: > > Do you know how to copy just a directory structure (not the files inside it)? > > This is better suited for freebsd-questions@, but I'll give you a hint, the > answer should probably involve find. :) > > Good luck, > > Doug > > -- > > This .signature sanitized for your protection > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43A9BA2C.21442.189E2F>