From 2388290351a69bf71c5647329fcef95739d5a934 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 13 Nov 2021 11:48:04 +0100 Subject: find_vcs() new --- carddav-to-alpine | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'carddav-to-alpine') diff --git a/carddav-to-alpine b/carddav-to-alpine index 4ed3550..5926ac3 100755 --- a/carddav-to-alpine +++ b/carddav-to-alpine @@ -13,13 +13,7 @@ for file in 'addressbook' 'uids'; do touch "${git_dir}"'/'"${file}" done -find "${git_dir}" \ - -name '.git' \ - -prune \ - , \ - -type f \ - -name '*.vcs' \ - -printf '%p\n' \ +find_vcs \ | while read -r address_file; do uid="${address_file##*/}" uid="${uid%.vcs}" -- cgit v1.2.3-54-g00ecf