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
declare -A \
destinationchannels \
destinationfat32compat \
destinationcopymime \
destinationformat \
destinationfrequency \
@ -242,6 +243,21 @@ getConfigDestination() {
esac
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')
destinationskipmime[$destination]="${destinationskipmime[$destination]:+${destinationskipmime[$destination]}|}$value"
;;

View File

@ -66,6 +66,8 @@ Sections:
%{track},
%{year}.
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
be included in that destination. For more than one mime-type, use multiple
times, as needed. The '*' character is a wildcard.