Request for batch Backup & Restore timestamp application

Discussion in 'Application Software' started by mdfm, Sep 18, 2013.

  1. mdfm

    mdfm MDL Novice

    Apr 4, 2010
    26
    0
    0
    Hi there , I had been finding this software for years.I would like to know which software able to batch backup date modified and created properties for a list of file and restore it after I transfer it.It's on windows 7.Similar to -Touch command on linux.

    I found a windows 7 software which can change the time stamp but it only works for individual file ( code.google.com/p/stexbar/ ) .I'd like to find a software which able to backup a batch of a list of file inside a folder timestamp ( Created & modified ).
    As for those who know , once you copy a file to a new location , the date created was modified to todays' date.That's reason I need an option to restore back the timestamp from the backup file.

    Is there any simple cmd or a software able to handle that ? Appreciate for anyone who can help me out. :worthy:
     
  2. mdfm

    mdfm MDL Novice

    Apr 4, 2010
    26
    0
    0
    I was hoping someone will give a few suggestion here.
    Did I post on a wrong thread or I should post on other forum ? suggestion of well known forum on coding ?
     
  3. urie

    urie Moderator
    Staff Member

    May 21, 2007
    8,707
    3,064
    300
  4. mdfm

    mdfm MDL Novice

    Apr 4, 2010
    26
    0
    0
    I installed the trial 30days .
    It's either I dont know how to use it or the Total commander doesn't have an option to backup and restore attributes under trial period .

    I just wanted a simple program which able to backup and restore attributes.Only one attributes I wanted to backup and restore.Date creating and date modified.

    I really hopes someone could show me any program or just a simple coding to do it.
     
  5. mdfm

    mdfm MDL Novice

    Apr 4, 2010
    26
    0
    0
    Anyone will to lend a hand for help ?
    Looking for a directory list files attributes with backup and restore.

    Though , Is it a hard application which non of user here using ?
    Been looking for 1+2 years

    Begging someone :worthy::worthy:
     
  6. user_hidden

    user_hidden MDL Expert

    Dec 18, 2007
    1,026
    977
    60
    #6 user_hidden, Oct 11, 2013
    Last edited by a moderator: Apr 20, 2017
    have you tried Xcopy ?



    Code:
    XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W]
                               [/C] [/I] [/Q] [/F] [/L] [/G] [/H] [/R] [/T] [/U]
                               [/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z] [/B] [/J]
                               [/EXCLUDE:file1[+file2][+file3]...]
    
      source       Specifies the file(s) to copy.
      destination  Specifies the location and/or name of new files.
      /A           Copies only files with the archive attribute set,
                   doesn't change the attribute.
      /M           Copies only files with the archive attribute set,
                   turns off the archive attribute.
      /D:m-d-y     Copies files changed on or after the specified date.
                   If no date is given, copies only those files whose
                   source time is newer than the destination time.
      /EXCLUDE:file1[+file2][+file3]...
                   Specifies a list of files containing strings.  Each string
                   should be in a separate line in the files.  When any of the
                   strings match any part of the absolute path of the file to be
                   copied, that file will be excluded from being copied.  For
                   example, specifying a string like \obj\ or .obj will exclude
                   all files underneath the directory obj or all files with the
                   .obj extension respectively.
      /P           Prompts you before creating each destination file.
      /S           Copies directories and subdirectories except empty ones.
      /E           Copies directories and subdirectories, including empty ones.
                   Same as /S /E. May be used to modify /T.
      /V           Verifies the size of each new file.
      /W           Prompts you to press a key before copying.
      /C           Continues copying even if errors occur.
      /I           If destination does not exist and copying more than one file,
                   assumes that destination must be a directory.
      /Q           Does not display file names while copying.
      /F           Displays full source and destination file names while copying.
      /L           Displays files that would be copied.
      /G           Allows the copying of encrypted files to destination that does
                   not support encryption.
      /H           Copies hidden and system files also.
      /R           Overwrites read-only files.
      /T           Creates directory structure, but does not copy files. Does not
                   include empty directories or subdirectories. /T /E includes
                   empty directories and subdirectories.
      /U           Copies only files that already exist in destination.
      /K           Copies attributes. Normal Xcopy will reset read-only attributes.
      /N           Copies using the generated short names.
      /O           Copies file ownership and ACL information.
      /X           Copies file audit settings (implies /O).
      /Y           Suppresses prompting to confirm you want to overwrite an
                   existing destination file.
      /-Y          Causes prompting to confirm you want to overwrite an
                   existing destination file.
      /Z           Copies networked files in restartable mode.
      /B           Copies the Symbolic Link itself versus the target of the link.
      /J           Copies using unbuffered I/O. Recommended for very large files.
    
    The switch /Y may be preset in the COPYCMD environment variable.
    This may be overridden with /-Y on the command line.
     
  7. user_hidden

    user_hidden MDL Expert

    Dec 18, 2007
    1,026
    977
    60
    #7 user_hidden, Oct 12, 2013
    Last edited by a moderator: Apr 20, 2017
  8. mdfm

    mdfm MDL Novice

    Apr 4, 2010
    26
    0
    0
    #8 mdfm, Oct 12, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Thank you very much :worthy::worthy:
    I had been searching for this function years back with no luck.Finally , my luck comes asking here.
    Thank you for telling the script and also your buddy Kai Kliu :biggrin:

    Do you think I can email to him to ask for another simple script.The vcopy help to preserve timestamp but doesn't work ask backup.Hoping there'll be a code to backup those timestamps.

    Example program name : Bktimestamp

    Usage
    bktime [-Ctime] [-Mtime] [-Atime] [-md5]

    -md5 generate a .md5 inside the backup text.

    If the file name match the any of the time stamp C/M/Atime = restore providing the -md5 match.
    Mostly the timestamp will have a HH:MM:SS which is precise and providing with -md5 matching the file size , restoring those file will be easy I guess.

    As a beginner , I doesn't know how to write a script , hoping someone could create it.

    Can I request dear user_hidden to pass this message to your buddy ? or I need to personally email to him ? hopefully it doesn't bother you passing the message to him

    Thank you again :worthy:
     
  9. user_hidden

    user_hidden MDL Expert

    Dec 18, 2007
    1,026
    977
    60
    I do not think he will make request scripts or software.

    I think with all of the suggestions here maybe someone can put it all together for you or guide you in the proper direction.
     
  10. mdfm

    mdfm MDL Novice

    Apr 4, 2010
    26
    0
    0
    Thanks , RichCopy indeed having a GUI improvement but I dont see any md5 hash check created for both rich and robo copy ?
    Thank you , It will be wonderful if he could will response to my request o_O.

    Really hope someone can guide me though the whole process.
    1. Backup all timestamp of all files
    2. Copy & transfer with all preserved timestamp to other directory/drive
    3. Reason behind , there are more than 100 doc files in every folder ,and I need to edit most of it.
    4. After edited and saved , file timestamp will get modified
    5. Restore the file matching both ( File Name + Date Creating )

    Possible having a script to restore depending or base on a selected matchingcommand
    Eg : Bktimestamp -F -CT
    Eg : Bktimestamp -Md5 -CT -MT

    -F (file name)
    -CT (created time)
    -MT (modififed time)
    -AT (Access time)
    -Md5 (Md5sumcheck)
    -OA (Other attributes)

    Just for example :)
     
  11. mdfm

    mdfm MDL Novice

    Apr 4, 2010
    26
    0
    0
    Oh, really thanks , what I worry they dont entertain guys with low profile as newbie.:eek:
    The copy/paste already with scripts was well but what I wanted more as a backup restore timestamps.

    Just as you modified a bunch of files doc or etc like 100 of them in oneshot in different folder

    eg:
    word.mvps.org/FAQs/MacrosVBA/BatchFR.htm .

    After modified , those file will get a new "modified date".I wanted to revert back to original copied date in a batch.Rather tedious modified the timestamps file by file.

    Hope you get what I meant.:worthy::worthy: