Create new script to run this python script from anywhere, and a setup script to add it to path.

This commit is contained in:
Craig
2025-04-23 16:44:45 +01:00
parent a1ba360331
commit 3871c3fc8f
4 changed files with 55 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
## Commands
- Run the backup script: `python3 backup.py`
- Install for system-wide access: `./setup.sh`
- No formal testing framework is used
## Code Style Guidelines
@@ -18,6 +19,8 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
## Project Structure
- `/configs/`: JSON configuration files for different backup jobs
- `backup.py`: Main script for creating tar.gz or zip archives of specified directories
- `backup`: Shell script wrapper to run backup.py from any directory
- `setup.sh`: Installation script to make the backup command available system-wide
## Config File Format
```json