``@echo off
echo ==============================================
echo RAGE Encryption Tool (Passphrase)
echo ==============================================
echo.
set /p input="Enter the path to the input file: "
set /p output="Enter the path for the output file (.age extension recommended): "
echo.
echo You will now be prompted to enter the passphrase for encryption.
rage.exe --encrypt --passphrase -o %output% %input%
if %errorlevel%==0 (
echo File encrypted successfully!
) else (
echo An error occurred during encryption.
)
pause
``
for windows users, making a single or complete set of batch files to run rage.exe and rage-keygen.exe would be nice. Same for Linux...make a bash script. Specifically, the KEY USE FUNCTIONS could be greatly simplified this way, a user could immediately figure out the key system.
``@echo off echo ============================================== echo RAGE Encryption Tool (Passphrase) echo ============================================== echo. set /p input="Enter the path to the input file: " set /p output="Enter the path for the output file (.age extension recommended): "
echo. echo You will now be prompted to enter the passphrase for encryption. rage.exe --encrypt --passphrase -o %output% %input% if %errorlevel%==0 ( echo File encrypted successfully! ) else ( echo An error occurred during encryption. ) pause ``
for windows users, making a single or complete set of batch files to run rage.exe and rage-keygen.exe would be nice. Same for Linux...make a bash script. Specifically, the KEY USE FUNCTIONS could be greatly simplified this way, a user could immediately figure out the key system.