katonag,
try to add `--exclude '/home/foo/.*/'` or `--exclude '/home/foo/.*/**'` in the beginning eg.
--exclude '/home/foo/.*/' --include '/home/foo/.*' --exclude '**'
.
duplicity tests in/exclude by given order. so the above translates to
- /home/foo/.*/
+ /home/foo/.*
- **
where the first matches `.folder` but not the `.file`, which is matched by the second directive and the third excludes everything else.
if `/home/foo/.*/` does not work, try `/home/foo/.*/**`. that is because the duplicity matching code might not differentiate between files and folders, i have no time to test that.
good luck.. ede/duply.net
PS: there is a chapter in the duplicity man page about in/exclusion <