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
- Host: GitHub
- URL: https://github.com/azersd/backup.py
- Owner: AzerSD
- Created: 2023-02-25T03:22:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-08T17:20:32.000Z (almost 3 years ago)
- Last Synced: 2025-02-15T19:52:51.581Z (about 1 year ago)
- Topics: backup, python, python-script, python3
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Backup Current Directory
Create a backup of the current directory in the parent directory
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.