v0.1.0 Release
Automated Portfolio Backup
A bash script that creates clean, lightweight backups of development directories.
~ About the Script
Instead of blindly zipping everything, file_backup_v1 intelligently excludes heavy environment folders (venv, __pycache__, node_modules), compiles the project into a .zip, generates a detailed size report, and stages the final package for deployment or cloud sync.
This is the first public release of the script, added to the Scripts repository as a reusable utility for system administration and automation.
~ Tech Stack
~ How to Use
1. Clone the repository:
git clone https://github.com/Tharana-Dev/Scripts.git
cd Scripts/portfolio_organizer
2. Make the script executable:
chmod +x log.sh
3. Configure the paths in log.sh:
SOURCE_DIR="/path/to/your/project"
WORKSPACE_DIR="$HOME/data/backup"
DEPLOY_DIR="/path/to/your/deploy_folder"
4. Run it:
./log.sh
~ What Happens When You Run It?
- The source directory is copied to a temporary workspace.
- Excluded items (
venv,.pycfiles, etc.) are scanned and counted. - The clean workspace is zipped.
- A report text file is generated with size and exclusion details.
- Everything is staged into your
DEPLOY_DIRfor sync or deployment.
~ Download the Script
Get the source code directly or view the repository on GitHub.