# -F and grep is used to list only directories, zsh's *(/) would be great.
dest="`pwd`/`ls -1dF backup-* | grep / | tail -n1`"
fi
target=backup-`date '+%Y-%m-%d-%H-%M-%S'`
# -F and grep is used to list only directories, zsh's *(/) would be great.
dest="`pwd`/`ls -1dF backup-* | grep / | tail -n1`"
fi
target=backup-`date '+%Y-%m-%d-%H-%M-%S'`