diff --git a/README.md b/README.md
index 56f016a..85d097c 100644
--- a/README.md
+++ b/README.md
@@ -92,6 +92,19 @@ python sync.py C:\your\database.kdbx
Remember that your user should have the serial port privileges (like belonging to the `dialout` group on Linux)!
+## Excluding entries
+Of course, not every password needs portability. The less passwords you carry with yourself, the better. Now deciding which passwords should PWDer include is easier, as there is no need to create a second database with only the required passwords.
+
+In order to prevent your KeePass password from appearing in PWDer's vault, you should add a `!pwexclude` line in the notes of the entry.
+
+
+
+During synchronization, the script will detect and ignore entry that has been marked as excluded.
+
+
+
+Then, it simply won't be sent to PWDer and won't appear there.
+
# Usage
## Main screen
This is where you can select a password to enter. The top bar represents the vault usage in %, and the bottom one is a scrollbar.
diff --git a/assets/photos/exclusion.png b/assets/photos/exclusion.png
new file mode 100644
index 0000000..91175ca
Binary files /dev/null and b/assets/photos/exclusion.png differ
diff --git a/assets/photos/exclusion2.png b/assets/photos/exclusion2.png
new file mode 100644
index 0000000..5913e9a
Binary files /dev/null and b/assets/photos/exclusion2.png differ
diff --git a/pwder_keepass_sync/sync.py b/pwder_keepass_sync/sync.py
index 3b40a0b..ab985c3 100644
--- a/pwder_keepass_sync/sync.py
+++ b/pwder_keepass_sync/sync.py
@@ -235,11 +235,18 @@ print(bcolors.OKGREEN + "OK" + bcolors.ENDC)
print()
### Fill vault with data
-print(bcolors.HEADER + "Reading KDBX data... " + bcolors.ENDC, end='')
+print(bcolors.HEADER + "Reading KDBX data... " + bcolors.ENDC)
i = 0
+ignored = 0
for entry in db.entries:
- if i < 100:
+ if i < 100 + ignored:
+ if entry.notes:
+ if '!pwexclude' in entry.notes:
+ ignored += 1
+ print("Ignoring entry " + entry.title)
+ continue
+
vault.credential_count += 1
if not entry.title:
@@ -267,7 +274,7 @@ for entry in db.entries:
break
i += 1
-print(bcolors.OKGREEN + "OK" + bcolors.ENDC)
+print(bcolors.OKGREEN + f'OK. Total entry count: {vault.credential_count}.' + bcolors.ENDC)
print()
### Encrypt vault data