Menu

cmd version - name of archive = timestamp

Help
Jan Kucera
2007-11-14
2012-12-07
  • Jan Kucera

    Jan Kucera - 2007-11-14

    Hi! I am using command line version of 7zip and I need to create archive with name = date of creation. For example: 071114.7z. Any ideas? Thank for advice.
    J.K.

     
    • Anonymous

      Anonymous - 2007-11-14

      If you're on M$ Windows, you can use %date% and the substring features in a DOS batch file.

       
    • Daniel Wit Preuss

      ren c:\backup %date:~3,10%backup

       

Log in to post a comment.

MongoDB Logo MongoDB