Backup Folder into ZIP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Harminoff
    New User
    • Mar 2012
    • 2

    Backup Folder into ZIP

    Hello, I would like to backup a folder and have it turn into a ZIP file.

    C:\FOLDER -----> C:\DESTINATION\FOLDER.ZIP

    What would be even better is to automatically add the date and time to the file name.

    C:\FOLDER -----> C:\DESTINATION\2012-03-13-11:04AM-FOLDER.ZIP

    The date and time could be set to any format. I would just like the year first.
    YEAR-MONTH-DAY-TIME (ANY FORMAT JUST SO THE NUMBER IS UNIQUE)-FOLDER NAME

    Thank you for reading.

    Harminoff
  • Aaron
    Team Scooter
    • Oct 2007
    • 16000

    #2
    Hello,

    For a graphical backup, you can use the Copy To Folder command and copy any selection of files into a custom named folder or .zip file. If the zip does not exist yet, BC3 will create it.
    You can also create a zip by typing a name manually into the left or right base folder path, which will also give you the option to create if not found.

    For scripting, you can use the copyto function with custom variables for the date and time:
    Code:
    load c:\folder
    select all
    copyto c:\Backups\Backup_%date%_%fn_time%.zip
    Aaron P Scooter Software

    Comment

    • Harminoff
      New User
      • Mar 2012
      • 2

      #3
      Awesome! Thank you so much for responding. I haven't tried it yet but I'm sure it will work because it seems easy enough.

      Comment

      • Aaron
        Team Scooter
        • Oct 2007
        • 16000

        #4
        If you have any trouble, just let us know here or email us at [email protected] and we'd be glad to help you out.
        Aaron P Scooter Software

        Comment

        Working...