Project

General

Profile

« Previous | Next » 

Revision 10033

lib/sh/local.sh: $sync_remote_url: allow user to override just the sync subdir (not the whole URL) in $sync_remote_subdir. this is useful e.g. for backing up the Mac's files to jupiter.

View differences:

lib/sh/local.sh
74 74
#### sync
75 75

  
76 76
: "${sync_local_dir=$root_dir}"
77
: "${sync_remote_url=jupiter:/data/dev/aaronmk/bien}"
77
: "${sync_remote_subdir=bien/}"
78
: "${sync_remote_url=jupiter:/data/dev/aaronmk/$sync_remote_subdir}"
78 79

  
79 80
sync_upload() { echo_func; use_sync; upload --no-owner --no-group "$@"; }
80 81

  

Also available in: Unified diff