Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: wjhobbs on July 02, 2005, 11:21:00 PM

Title: How to Retain Date-Time on Folders?
Post by: wjhobbs on July 02, 2005, 11:21:00 PM
It has probably been discussed here before -- but my searches have not been successful. Can someone point me in the right direction?

I have a large number of folders (and files) on a Windows box that I want to transfer to an i-bay. However, I want to retain the date-time associated with the folders.

Is there an easy (or even not so easy) way to accomplish this?

Thanks for your help.

John
Title: Re: How to Retain Date-Time on Folders?
Post by: gordonr on July 03, 2005, 02:46:12 PM
Quote from: "wjhobbs"

I have a large number of folders (and files) on a Windows box that I want to transfer to an i-bay. However, I want to retain the date-time associated with the folders.

Is there an easy (or even not so easy) way to accomplish this?


I believe that Windows normally preserves the creation time on a copy. If not, extracting a tarball with the --preserve should do it.
Title: How to Retain Date-Time on Folders?
Post by: wjhobbs on July 03, 2005, 11:21:49 PM
Quote
I believe that Windows normally preserves the creation time on a copy. If not, extracting a tarball with the --preserve should do it.


Gordon,

Thanks for your suggestion.

I'm really a novice. How would I go about extracting a tarball from a Windows machine?

When Windows copies a folder onto the same machine (e.g., to a second drive) it does retain the date-time information. But when it copies to another machine (e.g., a SME file server) it seems to create a *new* folder of the same name on the target machine before copying the folder's contents.

Thanks for your help.

John