fat32compat
This commit is contained in:
parent
49031cde33
commit
2d62dfa50b
18
atom
18
atom
@ -14,6 +14,7 @@ EFMTINVPARM=49
|
|||||||
# config structures
|
# config structures
|
||||||
declare -A \
|
declare -A \
|
||||||
destinationchannels \
|
destinationchannels \
|
||||||
|
destinationfat32compat \
|
||||||
destinationcopymime \
|
destinationcopymime \
|
||||||
destinationformat \
|
destinationformat \
|
||||||
destinationfrequency \
|
destinationfrequency \
|
||||||
@ -233,7 +234,7 @@ getConfigDestination() {
|
|||||||
"'off'"
|
"'off'"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
'rename')
|
'rename')
|
||||||
case "$value" in
|
case "$value" in
|
||||||
*/*)
|
*/*)
|
||||||
@ -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"
|
||||||
;;
|
;;
|
||||||
|
|||||||
@ -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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user