2 # SYNTAX: $data_dir $find_options -- $duplicity_options
5 test "$(id -u)" = "$(id -u backup)"
12 (*) find_options
="$find_options $1"; shift;;
16 find ~backup
/data
/"$data_dir" -mindepth 1 $find_options -type d \
17 -printf '--name\0%P\0file://%p\0' |
18 xargs -0rn3 ${TRACE:+-t} ~backup
/bin
/duplicity
"$@"