Turkish: README.tr.md
Caution
- This project is in a beta phase due to limited testing at this time.
- Important: Follow the instructions in the Releases section when updating the script.
- Supported OS: Currently, only Linux is supported.
Note
AutoTarCompress is a robust backup and archive management tool that provides both command-line interface (CLI) and interactive menu functionality for creating, encrypting, and managing backup archives.
- Detailed information: wiki.md
- Create compressed backups using tar and xz compression
- Encrypt/decrypt backups with GPG encryption
- Extract backup archives to restore files
- Clean up old backups with configurable retention policies
- Backup information display showing file details and metadata
- 🆕 Command-line interface for scriptable automation
- Interactive menu for user-friendly operation
- Configurable backup directories and ignore patterns
- Logging and error handling for reliable operation
- Open a terminal and clone this repo (make sure you have git installed):
git clone https://github.com/Cyber-Syntax/AutoTarCompress.git- Navigate to the project directory:
cd AutoTarCompress- Make executable and run the install script:
chmod +x install.sh && ./install.sh- After installation, restart your shell or run:
source ~/.bashrc # or ~/.zshrc- Go to configuration file and set your preferences:
vim ~/.config/autotarcompress/config.conf- (Optional) Enable shell autocompletion for bash or zsh:
# Auto detect your shell and install autocomplete
sh install.sh autocomplete
# Or manually install for bash/zsh
sh install.sh autocomplete bash
sh install.sh autocomplete zshAutoTarCompress now offers two ways to use it:
The CLI provides scriptable access to all backup operations:
# Show all available commands
autotarcompress --help
# Create a backup
autotarcompress backup
# Encrypt the latest backup
autotarcompress encrypt --latest
# Encrypt a backup from a specific date
autotarcompress encrypt --date 15-01-2024
# Encrypt a specific backup file
autotarcompress encrypt backup_15-01-2024_10-30-45.tar.xz
# Decrypt the latest encrypted backup
autotarcompress decrypt --latest
# Extract the latest backup
autotarcompress extract --latest
# Clean up old backups (uses config defaults)
autotarcompress cleanup
# Clean up keeping only 5 most recent backups
autotarcompress cleanup --keep 5
# Show last backup information
autotarcompress infoFor users who prefer an interactive experience:
autotarcompress interactiveOr simply run without arguments (default behavior):
autotarcompressAutoTarCompress provides the following commands:
backup— Create a backup archiveencrypt— Encrypt a backup filedecrypt— Decrypt an encrypted backup fileextract— Extract a backup archivecleanup— Remove old backupsinfo— Show information about the last backupinteractive— Launch the interactive menu (legacy mode)
For detailed options, usage examples, configuration, and migration notes, see docs/wiki.md.
autotarcompress backup
autotarcompress encrypt --latest
autotarcompress cleanup --keep 7
autotarcompress infoSee the wiki for advanced usage and full documentation.
If this script has been helpful: