charmon/charmon.sh
2025-03-11 21:00:32 -07:00

36 lines
996 B
Bash
Executable File

#!/bin/bash
echo "
) ( * ) )
( ( /( ( )\ ) ( ( ( /( ( /(
)\ )\()) )\ (()/( )\))( )\()) )\())
(((_) ((_)\((((_)( /(_))((_)()\ ((_)\ ((_)\
)\___ _((_))\ _ )\ (_)) (_()((_) ((_) _((_)
((/ __|| || |(_)_\(_)| _ \ | \/ | / _ \ | \| |
| (__ | __ | / _ \ | / | |\/| || (_) || . |
\___||_||_|/_/ \_\ |_|_\ |_| |_| \___/ |_|\_|
Toasty Developed by: 1ndev
"
imagetype=("Execute" "exit")
PS3='Specify option: '
select imgtype in "${imagetype[@]}"; do
case $imgtype in
"Execute")
echo "converting $filename to ${filename%.*}.img"
qemu-img convert -f vmdk -O raw $filename ${filename%.*}.img
echo "File Conversion Successful"
break
;;
"exit")
echo "User requested exit"
exit
;;
esac
done
echo "Select file type:"
read filename
result=$(echo "$filename")
echo "you have selected $result"