Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/borg/archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -1230,8 +1230,8 @@ def chunk_processor(chunk):
def maybe_exclude_by_attr(item):
if xattrs := item.get("xattrs"):
apple_excluded = xattrs.get(b"com.apple.metadata:com_apple_backup_excludeItem")
linux_excluded = xattrs.get(b"user.xdg.robots.backup")
if apple_excluded is not None or linux_excluded == b"false":
linux_included = xattrs.get(b"user.xdg.robots.backup")
if apple_excluded is not None or linux_included == b"false":
raise BackupItemExcluded

if flags := item.get("bsdflags"):
Expand Down
Loading