- Nov 30, 2019
-
-
Yuanle Song authored
-
Yuanle Song authored
when it exists. previously when check whether file exists, mingw style path is used, which always return false. In this commit, TypedFilePath.fs is added, all file path is wrapped with TypedFilePath.
-
Yuanle Song authored
is in utf-8 encoding. This allow user to edit the file in notepad and type unicode character easily.
-
- Nov 24, 2019
-
-
Yuanle Song authored
-
- Nov 22, 2019
-
-
Yuanle Song authored
-
Yuanle Song authored
local config files includes: local-list.txt local-exclude.txt mbackup-config.txt .ssh previously these files can only be modified by administrator, now all users are allowed to modify them.
-
Yuanle Song authored
use a global shared .ssh dir for all users. do not use current user's ~/.ssh This is to ease mbackup configuration and make sure if it runs for one user, it runs for other users too.
-
- Nov 19, 2019
-
-
Yuanle Song authored
-
- Nov 17, 2019
-
-
Yuanle Song authored
-
Yuanle Song authored
-
Yuanle Song authored
minor, update "make clean". update README to add some dev notes.
-
Yuanle Song authored
-
Yuanle Song authored
-
Yuanle Song authored
this allow running mbackup.exe without showing the cmd.exe window.
-
Yuanle Song authored
/RU SYSTEM run mbackup will fail. probably because expand special folder fail for SYSTEM user.
-
- Nov 16, 2019
-
-
Yuanle Song authored
-
Yuanle Song authored
-
Yuanle Song authored
install local-list.txt and locl-exclude.txt by default, but don't overwrite if already exists on target system.
-
Yuanle Song authored
file. Now all options except --versin and -i are supported in config file
-
Yuanle Song authored
specify known hosts file explicitly, so wrong home doesn't matter.
-
- Nov 15, 2019
-
-
Yuanle Song authored
- allow msi major upgrade - add desktop and start menu shortcut for mbackup.exe file - set HOME env variable when running rsync.exe. ssh.exe wants to access HOME dir. but this change seems not working in win 10 VM. - add Version info in mbackup.fsproj - mbackup.exe supports --version option. - when build msi file, include version in filename - use printf %A to print exception detail.
-
- Nov 14, 2019
-
-
Yuanle Song authored
-
Yuanle Song authored
fail fast if ssh key doesn't exist. don't run rsync. formatted code using vscode format document command
-
Yuanle Song authored
-
Yuanle Song authored
mbackup.list file; create dir should use windows format dir string.
-
Yuanle Song authored
- renmaed mbackup-for-windows.fsproj to mbackup.fsproj this file name is the project name. now exe is named mbackup.exe - use framework dependent release. - include rsync-mingw in one msi - use installed rsync and ssh path in Program.fs
-
Yuanle Song authored
- introduced wix, make - rsync-mingw64.msi works - I decide to include rsync inside mbackup.msi, and install it in the same app dir. So this working rsync-mingw64.msi config will be removed in next commit.
-
Yuanle Song authored
cli option > env var > config file
-
Yuanle Song authored
now target can be specified in config file. renamed some function to use camelCase.
-
Yuanle Song authored
removed the old logger workaround when no object is used in fmt.
-
Yuanle Song authored
logger functions now support variable number of arguments.
-
- Nov 13, 2019
-
-
Yuanle Song authored
-
Yuanle Song authored
-
Yuanle Song authored
now rsync should work if ssh key is present.
-
Yuanle Song authored
added short option support; use real rsync command in Process.Start();
-
Yuanle Song authored
added unit test sub project.
-
- Nov 12, 2019
-
-
Yuanle Song authored
fixed local.exclude typo
-
Yuanle Song authored
still missing many pieces and missing windows specific handling.
-
Yuanle Song authored
-