Some rework / corrections in README
This commit is contained in:
parent
cce27559b1
commit
b1ca51aa8f
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -71,7 +71,7 @@ All actions performed by the script are defined by `actions [...]` object :
|
||||||
in `compress` type (see below)
|
in `compress` type (see below)
|
||||||
- `source` : the source path, can be `{{tmpdir}}` to give the temporary folder
|
- `source` : the source path, can be `{{tmpdir}}` to give the temporary folder
|
||||||
or a powershell expression if `source_eval` is set to `true`
|
or a powershell expression if `source_eval` is set to `true`
|
||||||
- `source_eval` : evaluate the powershell expression in source for example
|
- `source_eval` : evaluate the powershell expression in source, for example
|
||||||
`$env:HOMEDATA\Music` will be interpreted as `C:\Users\name\Music`
|
`$env:HOMEDATA\Music` will be interpreted as `C:\Users\name\Music`
|
||||||
- `dest` : the destination path, can be a network path (like `\\<host>\<path>`
|
- `dest` : the destination path, can be a network path (like `\\<host>\<path>`
|
||||||
) can be `{{tmpdir}}` to give the script temporary folder.
|
) can be `{{tmpdir}}` to give the script temporary folder.
|
||||||
|
@ -136,13 +136,13 @@ Copy-paste the result in your json file into `pass` (in example, replace
|
||||||
|
|
||||||
## Log
|
## Log
|
||||||
|
|
||||||
This backup script log information to you console, but it can log it to a file,
|
This backup script log information to your terminal, but it can also log to a
|
||||||
useful when tou execute it in scheduled task for example. Log are in the `log/`
|
file, useful when you execute it in scheduled task for example. Log are in the
|
||||||
directory. Script create a logfile per day named with the configuration file
|
`log/` directory. Script create a logfile per day named with the configuration
|
||||||
basename plus date of execution (eg `example.20210112.log`)
|
file basename plus date of execution (eg `example.20210112.log`)
|
||||||
|
|
||||||
If a logfile is older that 15 day, it will be move to a compressed file
|
If a logfile is older that 15 day, it will be move to a compressed file
|
||||||
(`example.log.archives.7z`)
|
(`example.log.archives.<year>.<month>.7z`)
|
||||||
|
|
||||||
## disclaimer
|
## disclaimer
|
||||||
|
|
||||||
|
|
Reference in a new issue