shutil.copy time stamp errors on win XP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • BartlebyScrivener

    #1

    shutil.copy time stamp errors on win XP

    I'm working on various backup scripts, using filecmp and shutil.

    When I run a script to copy files to a mapped network drive, shutil
    creates a backup file with a date of 2002 or so.

    If I use shutil.copy2 it copies the dates of the original files, but
    creates folders with similary old dates and times.

    Anybody ever seen that before? My system clock is fine. I don't know
    what else to try.

    Thanks for any help.

    rick

  • Méta-MCI

    #2
    Re: shutil.copy time stamp errors on win XP

    Hi!

    Warning : Win-XP manage many date/time for files : creation, last access,
    last modification, year (?), day of photo
    And, this can to change, depending on format of disk (NTFS, FAT, etc.)
    and/or type of files (Jpeg, exe, etc.)

    On a LAN, the date/time can also to depend of the date/time and the time
    zone from the server (and, perhaps, from the domain).

    @-salutations

    MCI



    *sorry for my bad english*





    Comment

    • BartlebyScrivener

      #3
      Re: shutil.copy time stamp errors on win XP

      Thank you! I went into the set up of my network storage device and
      found the time settings all wrong. Fixed it.

      Sorry for the trouble.

      rick

      Comment

      Working...