From d8adee3177b8f957648555df256674eb7f1e437d Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Sun, 31 Mar 2013 01:19:35 +0100 Subject: [PATCH] rename on fat32compat change --- atom | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/atom b/atom index d58b74a..2147030 100755 --- a/atom +++ b/atom @@ -1082,7 +1082,7 @@ copyFile() { " WHERE id=$destfileid" \ " )," \ " rename_pattern=" \ -"\"${destinationrenamepath[$destination]}/${destinationrename[$destination]}\""\ +"\"${destinationrenamepath[$destination]}/${destinationrename[$destination]}:${destinationfat32compat["$destination"]}\""\ "WHERE id=$destfileid;" \ >&3 (( ++copies )) @@ -1217,7 +1217,7 @@ encodeFile::mp3() { cleanup $tempdir/$tmpfile.wav source_file $fileid status 0 - rename_pattern "${destinationrenamepath[$destination]}/${destinationrename[$destination]}" + rename_pattern "${destinationrenamepath[$destination]}/${destinationrename[$destination]}:${destinationfat32compat["$destination"]}" EOInsert ) progressSpin @@ -1252,7 +1252,7 @@ encodeFile::vorbis() { cleanup $tempdir/$tmpfile.wav source_file $fileid status 0 - rename_pattern "${destinationrenamepath[$destination]}/${destinationrename[$destination]}" + rename_pattern "${destinationrenamepath[$destination]}/${destinationrename[$destination]}:${destinationfat32compat["$destination"]}" EOInsert ) progressSpin @@ -2182,7 +2182,7 @@ do WHERE destinations.name="'"$destination"'" AND (destination_files.rename_pattern != -"'"${destinationrenamepath[$destination]}/${destinationrename[$destination]}"'" +"'"${destinationrenamepath[$destination]}/${destinationrename[$destination]}:${destinationfat32compat["$destination"]}"'" OR destination_files.rename_pattern is NULL) ; @@ -2230,7 +2230,7 @@ do echo "UPDATE destination_files" \ "SET filename=\"${destfilename//\"/\"\"}\"," \ " rename_pattern=" \ -"\"${destinationrenamepath[$destination]}/${destinationrename[$destination]}\"" \ +"\"${destinationrenamepath[$destination]}/${destinationrename[$destination]}:${destinationfat32compat["$destination"]}\"" \ "WHERE id=$destfileid;" \ >&3 progressSpin