init commit
This commit is contained in:
commit
f2c319b22c
35
charmon.sh
Executable file
35
charmon.sh
Executable file
@ -0,0 +1,35 @@
|
|||||||
|
#!/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"
|
Loading…
Reference in New Issue
Block a user