An open API service indexing awesome lists of open source software.

https://github.com/azersd/backup.py

Script to create a backup of the current directory in the parent directory
https://github.com/azersd/backup.py

backup python python-script python3

Last synced: 11 months ago
JSON representation

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

Awesome Lists containing this project

README

          

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:
```bash
python backup.py
```
You will find the backup file in the backup directory that is created in the parent directory.