Oct 3, 2006 #1 buxtonicer1 Programmer Joined Sep 20, 2006 Messages 82 Location GB Is there a way to cp files from one folder to another but keeping the same time associated with the file, i.e. the time the files were created.
Is there a way to cp files from one folder to another but keeping the same time associated with the file, i.e. the time the files were created.
Oct 3, 2006 #2 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location FR man cpio man tar man touch Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
man cpio man tar man touch Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Oct 3, 2006 #3 KenCunningham Technical User Joined Mar 20, 2001 Messages 8,475 Location GB Use the -p option to cp to preserve all details. Alan Bennett said: I don't mind people who aren't what they seem. I just wish they'd make their mind up. Click to expand... Upvote 0 Downvote
Use the -p option to cp to preserve all details. Alan Bennett said: I don't mind people who aren't what they seem. I just wish they'd make their mind up. Click to expand...
Oct 3, 2006 #4 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location FR Use the -p option OOps, so simple :~/ Upvote 0 Downvote
Oct 3, 2006 #5 KenCunningham Technical User Joined Mar 20, 2001 Messages 8,475 Location GB Happens to all of us, PHV! Alan Bennett said: I don't mind people who aren't what they seem. I just wish they'd make their mind up. Click to expand... Upvote 0 Downvote
Happens to all of us, PHV! Alan Bennett said: I don't mind people who aren't what they seem. I just wish they'd make their mind up. Click to expand...
Oct 3, 2006 Thread starter #6 buxtonicer1 Programmer Joined Sep 20, 2006 Messages 82 Location GB Cheers. Upvote 0 Downvote