modified: convert_to_gdi_then_to_chd.sh
new file: docker_command.sh modified: get-gdi-conversion.sh
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
# use with convert_cue_chd.sh */.
|
||||
|
||||
# output_directory is the directory where the unarchived folders will go
|
||||
output_directory=./out
|
||||
output_directory=../out
|
||||
mkdir -p "$output_directory"
|
||||
i=1
|
||||
for FOLDER in "$@";
|
||||
@@ -28,14 +28,13 @@ for FOLDER in "$@";
|
||||
outpath="$output_directory/$outname"
|
||||
##touch "./out/${fi%%.*}.new"
|
||||
|
||||
if [ ! -d "$outpath" ]; then
|
||||
if [ ! -f "$outpath" ]; then
|
||||
echo "Input file: $filename"
|
||||
echo "Output path: $outpath"
|
||||
echo $'\n'
|
||||
gdi-conversion-linux -c "$INFILE"
|
||||
chdman createcd -i "$FOLDER/output/*.gdi" -o "$outpath"
|
||||
# 7z x "$FILE" -aos -bb1 -o"$outpath"
|
||||
|
||||
./gdi-conversion-linux -c "$INFILE"
|
||||
chdman createcd -i "$FOLDER/output/disc.gdi" -o "$outpath"
|
||||
rm -r "$FOLDER/output"
|
||||
else
|
||||
echo "$outpath exists... skipping"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user