Date: Mon, 23 Aug 2004 11:57:13 -0500 From: "W. D." <WD@US-Webmasters.com> To: freebsd-questions@freebsd.org Subject: Copy all files and subdirectories preserving time stamp? Message-ID: <5.1.0.14.2.20040823115109.04717ec0@209.152.117.178>
next in thread | raw e-mail | index | archive | help
Hi folks, What would be the way to copy all files and subdirectories from one directory to another--preserving the time stamp and other attributes? It seems that 'cp' usually puts a time stamp of the=20 current date and time. Would this work? cp -r -p -@ /some/source/directory/* /some/target/directory/ Thanks for your help! Start Here to Find It Fast!=99 ->= http://www.US-Webmasters.com/best-start-page/ $8.77 Domain Names -> http://domains.us-webmasters.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.2.20040823115109.04717ec0>