diff --git a/copyparty/up2k.py b/copyparty/up2k.py index c4ed4a91..17023f6d 100644 --- a/copyparty/up2k.py +++ b/copyparty/up2k.py @@ -596,6 +596,9 @@ class Up2k(object): if stat.S_ISDIR(inf.st_mode): if abspath in excl or abspath == histpath: continue + if iname == ".th" and bos.path.isdir(os.path.join(abspath, "top")): + # abandoned or foreign, skip + continue # self.log(" dir: {}".format(abspath)) try: ret += self._build_dir(dbw, top, excl, abspath, rei, reh, seen)