Commit 528b24ed authored by Yuanle Song's avatar Yuanle Song

v0.6.2.0 ensure local list and local exclude file

is in utf-8 encoding. This allow user to edit the file in notepad
and type unicode character easily.
parent 2da7adc4
......@@ -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,
......
# 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
# 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
......@@ -23,7 +23,7 @@
<RuntimeIdentifiers>win10-x64</RuntimeIdentifiers>
<RootNamespace>Mbackup</RootNamespace>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Version>0.6.1.0</Version>
<Version>0.6.2.0</Version>
</PropertyGroup>
<ItemGroup>
......
* 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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment