diff --git a/PKGBUILD b/PKGBUILD index 5349415..8c1b9a5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Matthias Quintern pkgname=msynk -pkgver=1.2 +pkgver=1.3 pkgrel=2 pkgdesc="rsync helper that supports encryption (through mkrypt) and presets" arch=('any') @@ -9,7 +9,8 @@ license=('GPL3') depends=('rsync') optdepends=('mkrypt: for encryption') source=(msynk.sh _msynk.compdef.zsh msynk.1.man template) -md5sums=(1c9a807605d9f156997f720d07649f80 8398678146d9f8a5669e8b788502b3b8 d089828a93bf8e4ffd9051d8ea756ab8 492028aa2f08528f1d476376884959b2) +md5sums=(4392e5545877c02d673370326ea130e5 515d71a5e9be5a26a5921dddf6509d9d d089828a93bf8e4ffd9051d8ea756ab8 492028aa2f08528f1d476376884959b2) + package() { mkdir -p "${pkgdir}/usr/bin" diff --git a/readme.md b/readme.md index 29de4a9..03e18fd 100644 --- a/readme.md +++ b/readme.md @@ -37,6 +37,7 @@ You can then run this with: `msynk -c my_backup`, or if you only want to sync th - `-s, --sender path` Set sender to directory. This can also be a remote, like user@domain.com:/dir. Defaults to to the current working directory. - `-r, --receiver path` Set the receiver directory. All files and directories will be placed inside this directory. This can also be a remote, like user@domain.com:/dir. This option always needs to be set. Note that this directory must already exist if it is on a remote. - `--reverse` Swaps sender and receiver. Useful when you want to reverse a config file. +- `-R, --relative` Use relative path names, uses *rsync* --relative option instead of --recursive - `--encrypt` Encrypt files with *mkrypt* before sending them to the receiver. The files are encrypted to $TMP_DIR and then synced to the receiver. Does not work with --delete. - `--decrypt` Decrypt files with *mkrypt* after receiving them from the sender. Assumes that all files are encrypted and fails if that is not the case. The files are synced to $TMP_DIR and then decrypted to the receiver directory. Does not work with --delete. - `--check-date` Can be used with -c and --encrypt or --decrypt: When running msynk with a config, the current date is stored in the config file. When running with --check-date, only files that have been modified after the date stored in the config file are processed (by passing--date [date the config was last run] to *mkrypt*). @@ -57,6 +58,9 @@ The $TMP_DIR defaults to /tmp/mksynk and /tmp is usually limited to half the siz You change the $TMP_DIR in the script in /usr/bin/msynk or temporarily increase the size of the tmpfs by running `sudo mount -o remount,size=XXG,noatime /tmp` if your $TMP_DIR is on /tmp and you have at least XXGB memory+swap space. ## Changelog +### 1.3 +- Added relative path support + ### 1.2 Bugfixes: - rsync_flags are now applied to dryrun