Copy all files and subdirectories preserving time stamp?

2004-08-23 Thread W. D.
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 current date and time. Would this work? cp -r -p -@ /some/source/directory/*

Re: Copy all files and subdirectories preserving time stamp?

2004-08-23 Thread Moti Levy
W. D. wrote: 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 current date and time. Would this work? cp -r -p -@ /some/source/directory/*

Re: Copy all files and subdirectories preserving time stamp?

2004-08-23 Thread W. D.
At 12:00 8/23/2004, Moti Levy wrote: W. D. wrote: 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 current date and time. Would this work? cp

Re: Copy all files and subdirectories preserving time stamp?

2004-08-23 Thread Ian Smith
Re: freebsd-questions Digest, Vol 74, Issue 3 Message: 14 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 current date and time. Would