diff --git a/atom b/atom index 105c41a..66cc34f 100755 --- a/atom +++ b/atom @@ -18,6 +18,7 @@ declare -A \ destinationchannels \ destinationfat32compat \ destinationcopymime \ + destinationcopyext \ destinationformat \ destinationfrequency \ destinationid \ diff --git a/lib/config/getDestination b/lib/config/getDestination index 5284c75..9792f8c 100644 --- a/lib/config/getDestination +++ b/lib/config/getDestination @@ -186,7 +186,7 @@ getConfigDestination() { destinationcopymime[$destination]="${destinationcopymime[$destination]:+${destinationcopymime[$destination]}|}$value" ;; 'copy_extension') - destinationcopyext[$destination]="${destinationcopyext[$destination]:+${destinationcopyext[$destination]}|}$value" + destinationcopyext[$destination]="${destinationcopyext[$destination]:+${destinationcopyext[$destination]}|}\.$value$" ;; 'higher-than') expr='^[0-9]*$'