Unnamed repository; edit this file 'description' to name the repository.
Find a file
2024-09-25 14:01:41 +03:00
find_duplicate_contacts Add readme 2022-06-13 22:21:15 +03:00
.gitignore update module files 2024-09-25 14:01:41 +03:00
LICENSE Add license and fix metadata 2022-06-13 22:27:11 +03:00
pyproject.toml update module files 2024-09-25 14:01:41 +03:00
README.md Add license and fix metadata 2022-06-13 22:27:11 +03:00
requirements.txt Find duplicates in vcards 2022-06-13 11:55:55 +03:00
setup.cfg update module files 2024-09-25 14:01:41 +03:00
setup.py Fix metadata 2022-06-14 08:43:03 +03:00

find_duplicate_contacts

Requirements

See the requirements.txt file for required Python modules. Save the contacts as individual (one contact per file) vCard files in an isolated directory.

Installation

Linux

sudo python3 setup.py install

Windows (from PowerShell)

& $(where.exe python).split()[0] setup.py install

Usage

  • Save the contacts as individual (one contact per file) vCard files in an isolated directory, pass this directory with the --directory option.
  • Those completely equal, except for some list of keys (see the ignore_fileds variable), will be directly moved to the --duplicates-destination folder inside the --directory.
  • Those with equal full name, will be show and a prompt will ask you to keep one of the contact cards or just do nothing with them.

find_duplicate_contacts.py [OPTIONS]

Options: -d, --debug-level [CRITICAL|ERROR|WARNING|INFO|DEBUG|NOTSET] Set the debug level for the standard output. -l, --log-file TEXT File to store all debug messages. -f, --directory TEXT Directory containing vCard files to check. [required] -D, --duplicates-destination TEXT Directory to move duplicates files, relative to the directory containing the vCards. Default: duplicates --config FILE Read configuration from FILE. --help Show this message and exit.```

License

GPLv3