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 this work? > > cp -r -p -@ /some/source/directory/* /some/target/directory/
# cp -pR dir1 dir2 works for me. See the note in 'man cp' re hard linked files, though. Ian _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"