Files
obsidian/Clippings/jowavevcard2to3 Convert vcards from version 2.1 to version 3.0.md
2025-12-17 01:17:13 +09:00

8.6 KiB

title, source, author, published, created, description, tags
title source author published created description tags
jowave/vcard2to3: Convert vcards from version 2.1 to version 3.0 https://github.com/jowave/vcard2to3
조웨이브
2025-10-26 Convert vcards from version 2.1 to version 3.0. Contribute to jowave/vcard2to3 development by creating an account on GitHub.
clippings

vCard를 버전 2.1에서 버전 3.0으로 변환

MIT 라이센스

이름이름

마지막 커밋 메시지

마지막 커밋 날짜

기능: 사용자 정의 별명에 대한 선택적 CHARSET 매개변수 허용

a9c93c2 ·

42개의 커밋

.github/ 이슈 템플릿

.github/ 이슈 템플릿

이슈 템플릿 업데이트

.gitignore

.gitignore

Replace type_lc 호출에 URL 및 LABEL 추가

특허

특허

라이센스 추가

README.md

README.md

CLI 인수에 대한 도움말 텍스트 개선

예제.vcf

예제.vcf

기능: 사용자 정의 별명에 대한 선택적 CHARSET 매개변수 허용

프로세스.sh

프로세스.sh

'--prune_empty' 옵션 제거

quopri-인코딩-테스트.vcf

quopri-인코딩-테스트.vcf

--in_encoding 인용된 인쇄 가능한 내용을 디코딩하는 데 사용

vcard2to3.py

vcard2to3.py

기능: 사용자 정의 별명에 대한 선택적 CHARSET 매개변수 허용

vcard_merge.py

vcard_merge.py

PEP8 및 포맷

저장소 파일 탐색

vcard2to3

vCard를 버전 2.1에서 버전 3.0으로 변환합니다.

Android 4.x 휴대폰에서 내보낸 연락처를 변환하여 Nextcloud로 가져오는 스크립트를 작성했습니다. 제 경우에는 효과가 있었지만, 여러분의 경험과는 다를 수 있습니다.

스크립트는 매우 간단하며, 2.1과 3.0의 모든 차이점을 다루지는 않습니다.

vcard2to3.py

vcard2to3.py 변환 스크립트입니다. 빠른 시작:

git clone https://github.com/jowave/vcard2to3.git
cd vcard2to3
./vcard2to3.py your_file.vcf

출력은 파일입니다 your_file.vcf.converted.

사용 가능한 명령줄 인수를 표시하려면 다음을 실행하세요.

./vcard2to3.py --help

usage: vcard2to3.py [-h] [--in_encoding IN_ENCODING]
                    [--out_encoding OUT_ENCODING] [-r REMOVE]
                    [--remove_card REMOVE_CARD] [--remove_dollar]
                    infile [outfile]

Convert VCard 2.1 to VCard 3.0.

positional arguments:
  infile                the input filename
  outfile               the output filename, defaults to the input filename
                        with ".converted" appended, this file will be
                        overwritten if it exists

options:
  -h, --help            show this help message and exit
  --in_encoding IN_ENCODING
                        the encoding of the input file (default: platform
                        dependent)
  --out_encoding OUT_ENCODING
                        the encoding for the output file (default: platform
                        dependent)
  -r REMOVE, --remove REMOVE
                        remove lines matching regex REMOVE, can be given
                        multiple times
  --remove_card REMOVE_CARD
                        remove vcards for which any line matches regex
                        REMOVE_CARD, can be given multiple times
  --remove_dollar       remove "$" in N and FN values

vcard_merge.py

vCard를 병합하고 정렬합니다. vcard_merge.py 중복된 연락처를 제거할 수 있습니다. 연락처는 정렬 및 병합 기준에 따라 정렬되며 FN, 한 연락처 내의 중복된 줄은 삭제됩니다. 결과를 직접 편집해야 할 수도 있습니다.

참고문헌

새롭게 등장하다

게시된 자료는 없습니다.

세트

게시된 패키지는 없습니다.

언어