Last active
January 2, 2016 11:48
-
-
Save antonjn/8298721 to your computer and use it in GitHub Desktop.
Merge .vcf contacts to one with all of them (for import to Google Contacts).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Merge all contacts for easy import, ex. to google contacts. | |
set -e | |
name='_all_as_one.vcf' | |
GLOBIGNORE="${name}" # Skip the merged file. | |
cat */*.vcf *.vcf > ${name} | |
echo "Merged all contacts to ${name}!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment