Create new script to run this python script from anywhere, and a setup script to add it to path.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user