Skip to content

erogers88/py-zipbackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ZipBackup

This library implements a function that can be used to create a backup of a specified folder, with the option of only keeping certain file extensions if desired.

def create_backup(source_location, backup_location, file_prefix, extension=""):
    """
    source_location:  absolute path to directory to back up
    backup_location:  absolute path to backup directory
    file_prefix:        short prefix to add to beginning of zip file
    extension:        (optional) keep only files of this type
    """

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages