VIP 👤
🏠 Accueil
基準測試
📊 Tous les Benchmarks 🦖 Dinosaure v1 🦖 Dinosaure v2 ✅ To-Do List Apps 🎨 Pages Libres 🎯 FSACB - Showcase 🌍 Traduction
Modèles
🏆 Top 10 Modèles 🆓 Modèles Gratuits 📋 Tous les Modèles ⚙️ Modes Kilo Code
Ressources
💬 Prompts IA 📖 人工智能詞彙表 🔗 Liens Utiles 🔌 AI API 同路由
Intermediate

Automated Backup Bash Script

#bash #linux #scripting #automation

Write a Bash script to compress and backup a directory.

Create a Bash script that takes a source directory path and a destination directory path as arguments. The script should create a timestamped tar.gz archive of the source directory and save it to the destination. Include a check to ensure the destination exists.