Files
Atomizer/tools/archive_study.bat

33 lines
1.2 KiB
Batchfile
Raw Normal View History

@echo off
REM Atomizer Study Archiver - Convenience Script
REM Usage: archive_study.bat <command> [study_path]
REM
REM Commands:
REM analyze - Show disk usage analysis
REM cleanup - Remove regenerable files (dry run by default)
REM archive - Archive to dalidou server
REM list - List archived studies on server
REM
REM Examples:
REM archive_study.bat analyze studies\M1_Mirror
REM archive_study.bat cleanup studies\M1_Mirror\m1_mirror_V12 --execute
REM archive_study.bat archive studies\M1_Mirror\m1_mirror_V12 --execute
cd /d C:\Users\antoi\Atomizer
if "%1"=="" (
echo Usage: archive_study.bat ^<command^> [path] [options]
echo.
echo Commands:
echo analyze ^<path^> - Analyze disk usage
echo cleanup ^<study^> [--execute] - Remove regenerable files
echo archive ^<study^> [--execute] - Archive to dalidou
echo restore ^<name^> - Restore from dalidou
echo list - List remote archives
echo.
echo Add --tailscale for remote access via Tailscale
exit /b 1
)
C:\Users\antoi\anaconda3\envs\atomizer\python.exe -m optimization_engine.utils.study_archiver %*