Files
serv_benchmark/migrate_files.sh
2026-01-11 23:41:30 +01:00

15 lines
286 B
Bash
Executable File

#!/bin/bash
# Wrapper script for file migration
cd "$(dirname "$0")"
# Check if venv exists
if [ -d "backend/venv" ]; then
source backend/venv/bin/activate
elif [ -d "venv" ]; then
source venv/bin/activate
fi
# Run migration
python3 backend/migrate_file_organization.py "$@"