tdp-plugin-backup
Installation
SKILL.md
Overview
This skill backs up a specified TDP plugin from local storage to an external USB drive.
Local paths:
- Origin:
~/space/tdp-scripts/origin/<plugin name>/ - Plugin:
~/space/tdp-scripts/plugin/<plugin name>_* - Bin:
~/space/tdp-scripts/bin/<plugin name>_*
USB paths:
- Mac:
/Volumes/SanDisk/origin/,/Volumes/SanDisk/plugin/,/Volumes/SanDisk/bin/ - Linux:
/mnt/f/origin/,/mnt/f/plugin/,/mnt/f/bin/
Rules:
- No compression
- Check if source exists before copying; if not, report and skip
- Delete all existing files in the target before copying
- Copy recursively
- Auto-detect OS to choose USB path