diff --git a/ccollect.sh b/ccollect.sh index 60c647a..e6ff131 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -427,6 +427,9 @@ while [ "$i" -lt "$no_sources" ]; do destination_date=$($CDATE) destination_dir="$c_dest/${INTERVAL}.${destination_date}.$$" + # + # FIXME: + # last_dir=$(ls -d "$c_dest/${INTERVAL}."?* 2>/dev/null | sort -n | tail -n 1) # give some info diff --git a/doc/todo/0.5.2 b/doc/todo/0.5.2 new file mode 100644 index 0000000..9dc15b6 --- /dev/null +++ b/doc/todo/0.5.2 @@ -0,0 +1,3 @@ +x Fix $? problem +- Check last dir searching +- Check general functionality (remove testing) diff --git a/doc/todo/0.5.3 b/doc/todo/0.5.3 new file mode 100644 index 0000000..2ecfdc6 --- /dev/null +++ b/doc/todo/0.5.3 @@ -0,0 +1,6 @@ +- join todos +- fix possible quoting problems + * rsync_extra (redefine format) + * exclude + * other + * create _rsync, filtering args, creating new $@ diff --git a/doc/todo/0.6 b/doc/todo/0.6 new file mode 100644 index 0000000..4bcdb1b --- /dev/null +++ b/doc/todo/0.6 @@ -0,0 +1,9 @@ +- implement use of different intervals as source for cloning + * use 'woechentlich' if available and no backup exists for 'daily' + * add 'prefer_latest' to prefer different interval, that's newer than + ours + * or add 'prefer_same_interval' instead? +- implement detection of partial backups +- do not check by name, but by time + * is ls -t posix? + * also check: -p -1