Koozali.org: home of the SME Server

How to Retain Date-Time on Folders?

Offline wjhobbs

  • *****
  • 171
  • +0/-0
    • http://www.chryxus.ca
How to Retain Date-Time on Folders?
« 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
...

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: How to Retain Date-Time on Folders?
« Reply #1 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.
............

Offline wjhobbs

  • *****
  • 171
  • +0/-0
    • http://www.chryxus.ca
How to Retain Date-Time on Folders?
« Reply #2 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
...