Skip to content

Script to create a backup of the current directory in the parent directory

Notifications You must be signed in to change notification settings

AzerSD/backup.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Backup Current Directory

Create a backup of the current directory in the parent directory

Made with Python

Overview

This Python script allows you to create a backup of the current directory in the parent directory. The script creates a backup directory in the parent directory, and then archives the contents of the current directory into a ZIP file with the name of the current directory. The backup file is saved in the backup directory with a single .zip extension.
The script can be used to easily backup the contents of a directory before making changes or updates to the files. This can be especially useful if you're working on a project and want to make sure you have a backup copy of your files in case something goes wrong.

Usage

To use the script, simply download the backup.py file and run it using Python:

python backup.py

You will find the backup file in the backup directory that is created in the parent directory.

About

Script to create a backup of the current directory in the parent directory

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages