diff --git a/README.md b/README.md index 7a29490abbcefa3439641ff4aa70d54a0a9a8ba6..8a1bc6c428a18ab9cf4f1307cbda4af265d09e0c 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,8 @@ Here are the backup list files and exclude pattern files: local-list.txt and local-exclude.txt are managed by user. mbackup will not modify those files when it is uninstalled or upgraded. The other lists are shipped with mbackup and will be removed/overwritten when -uninstalling/upgrading mbackup. +uninstalling/upgrading mbackup. All text files should be in utf-8 encoding, +especially if they include unicode file path. To learn more about file list and exclude patterns, read rsync man page https://download.samba.org/pub/rsync/rsync.html --files-from option, diff --git a/mbackup-config/local-exclude.txt b/mbackup-config/local-exclude.txt index b8f8bbe51fd5d0bbcf375c057cf506443f263b5c..2212e5f4d9e658efaa74942752542bcdda122fea 100644 --- a/mbackup-config/local-exclude.txt +++ b/mbackup-config/local-exclude.txt @@ -1,6 +1,7 @@ # files/dirs to exclude, for syntax, check rsync patterns # This file is reserved when uninstall/upgrade mbackup. # lines started with # are comments. +# unicode characters in path is supported such as D:\Movies\疯狂的赛车\*** # example: # *.o # C:\foo\bar.iso diff --git a/mbackup-config/local-list.txt b/mbackup-config/local-list.txt index 7cdeaf86e3844528d4e526637f9e9701221eead9..dbd911ee3fb59b47586f15302653779eb8d11cf4 100644 --- a/mbackup-config/local-list.txt +++ b/mbackup-config/local-list.txt @@ -1,6 +1,7 @@ # local dirs to backup. # This file is reserved when uninstall/upgrade mbackup. # lines started with # are comments. +# unicode characters in path is supported such as D:\Movies\疯狂的赛车 # example: # C:\mydir # D:\some dir\some file.doc diff --git a/mbackup.fsproj b/mbackup.fsproj index d78b64124b311ffe7732d49a4234a567fbb470e8..5f1a0d3374acff33f0cfbee7876cb9de3ee8d6d9 100644 --- a/mbackup.fsproj +++ b/mbackup.fsproj @@ -23,7 +23,7 @@ win10-x64 Mbackup true - 0.6.1.0 + 0.6.2.0 diff --git a/operational b/operational index f0122a81c45dd56feeee906c684c87cd4415942d..1cf66ca60bafce6846dfd963f174200e8912bc8a 100644 --- a/operational +++ b/operational @@ -1,6 +1,6 @@ * COMMENT -*- mode: org -*- #+Date: 2019-11-12 -Time-stamp: <2019-11-18> +Time-stamp: <2019-11-30> #+STARTUP: content * notes :entry: ** 2019-11-12 mbackup for windows :featurereq: @@ -245,6 +245,11 @@ vscode should at least always indent using space for F#. * current :entry: ** +** 2019-11-30 bug: mbackup local exclude config is not used in rsync command. +L271 should use win path when check whether file exists. + +- can I use typing to specify when a Linux path is required and when a windows + path is required? ** 2019-11-24 Make sure Chinese file name works in local.list file. ** 2019-11-23 when default .ssh dir is in %programdata%\mbackup\.ssh, there is a security concern. @@ -284,6 +289,11 @@ Are there any code change required? ** 2019-11-18 add log rotate for %localappdata%\mbackup\mbackup.log * done :entry: +** 2019-11-30 shipped local list, local exclude file should be in utf-8 encoding. +when user open the file using notepad, it should be in utf-8 encoding. +just add some unicode character in shipped local list file and save in utf-8 encoding +in windows. + ** 2019-11-19 allow local Users group to have full access to local list and local exclude file. by default, only admin can modify them, Users can only read/execute them.