aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-04Fix bug: empty string considered as $PWDEinhard Leichtfuß
Before, if the program was run with only a source argument, that has no destination associated (e.g. in the configuration file), the destination was accepted as the empty string, which translated to the local directory (due to relative adressing). This was due to the shell option nullglob, which now is unset in any situations where `test -v' is used, which currently is only the case in get_args. It is `test -v' that failed to recognize an undefined variable.
2019-04-04Add remote backup functionalityEinhard Leichtfuß
Create wrapper functions that take a host and a function with named arguments. The supplied function is the to be executed on the specified host, which may be the empty string signifying local execution. These wrapper functions essentially export the to be run function and any of its recursive dependencies, further the named arguments as variables, to the remote host, and run the function remotely. That is, if the host is non-local. Also, - use appropriate function names to differentiate between destination and source host wherever applicable. - add comments, - enhance TODO and README, - rename some variables in order to increase consistency, - move some global declarations further upward, - make variables readonly when reasonable, - use named return and exit codes, - add a general `ask'-function.
2018-12-26Fix license noteEinhard Leichtfuß
2018-12-01TODOEinhard Leichtfuß
2018-12-01Fix by_number/Einhard Leichtfuß
Before, it did not work correctly for >= 100 backups. (There would only be prepended 0 or nothing to the unpadded number.)
2018-11-29https license linkEinhard Leichtfuß
2018-10-08Add `--acls' `--xattrs'Einhard Leichtfuß
E.g. /usr/bin/ping on Arch has capabilities, hence extended attributes set.
2018-10-08Apply generic filter after specific filterEinhard Leichtfuß
Also: - Remove `-vv'. - Add progress bar.
2018-04-08Update TODOEinhard Leichtfuß
2018-04-08Update TODOEinhard Leichtfuß
2018-04-02Initial commitEinhard Leichtfuß