fat32compat

This commit is contained in:
Vincent Riquer 2013-03-31 00:00:02 +01:00
parent 49031cde33
commit 2d62dfa50b
2 changed files with 19 additions and 1 deletions

16
atom
View File

@ -14,6 +14,7 @@ EFMTINVPARM=49
# config structures # config structures
declare -A \ declare -A \
destinationchannels \ destinationchannels \
destinationfat32compat \
destinationcopymime \ destinationcopymime \
destinationformat \ destinationformat \
destinationfrequency \ destinationfrequency \
@ -242,6 +243,21 @@ getConfigDestination() {
esac esac
destinationrename["$destination"]="${value##*/}" destinationrename["$destination"]="${value##*/}"
;; ;;
'fat32compat')
case $value in
'true'|'on'|'yes')
destinationfat32compat["$destination"]=1
;;
'false'|'off'|'no')
destinationfat32compat["$destination"]=0
;;
*)
echo "fat32compat takes values:" \
"'yes' ,'true' ,'on', 'no', 'false',"\
"'off'"
;;
esac
;;
'skip_mime-type') 'skip_mime-type')
destinationskipmime[$destination]="${destinationskipmime[$destination]:+${destinationskipmime[$destination]}|}$value" destinationskipmime[$destination]="${destinationskipmime[$destination]:+${destinationskipmime[$destination]}|}$value"
;; ;;

View File

@ -66,6 +66,8 @@ Sections:
%{track}, %{track},
%{year}. %{year}.
Untagged files or files in unrecognized formats will not be changed. Untagged files or files in unrecognized formats will not be changed.
* fat32compat <yes>/<no>: Rename files for compatibility with FAT32
filesystems.
* skip_mime-type <mime-type>: Files with mime-type <mime-type> will not * skip_mime-type <mime-type>: Files with mime-type <mime-type> will not
be included in that destination. For more than one mime-type, use multiple be included in that destination. For more than one mime-type, use multiple
times, as needed. The '*' character is a wildcard. times, as needed. The '*' character is a wildcard.