$npx -y skills add joeynyc/skillscore --skill mediocre-skillCreates backups of important files to a remote location.
| 1 | # File Backup Tool |
| 2 | |
| 3 | Creates backups of important files to a remote location. |
| 4 | |
| 5 | ## What it does |
| 6 | |
| 7 | This skill backs up files when you ask it to. It compresses files and uploads them to cloud storage. |
| 8 | |
| 9 | ## Requirements |
| 10 | |
| 11 | - tar command |
| 12 | - internet connection |
| 13 | - some cloud storage account |
| 14 | |
| 15 | ## How to use |
| 16 | |
| 17 | 1. Run the backup command |
| 18 | 2. Wait for it to finish |
| 19 | 3. Check if it worked |
| 20 | |
| 21 | ```bash |
| 22 | tar -czf backup.tar.gz ./documents/ |
| 23 | curl -X POST -F "file=@backup.tar.gz" https://storage.example.com/upload |
| 24 | ``` |
| 25 | |
| 26 | ## Troubleshooting |
| 27 | |
| 28 | If it doesn't work, try running it again. Maybe check your internet connection. |
| 29 | |
| 30 | ## Notes |
| 31 | |
| 32 | - Files are compressed before upload |
| 33 | - Might take a while for large files |
| 34 | - Requires cloud storage account setup (instructions not included) |