From: Siraaj Khandkar Date: Fri, 29 Jul 2022 18:03:23 +0000 (-0400) Subject: Add recipe to find untracked ~/bin items X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=a2a21403525e59e47e404a0ae5cc929c9db6cfda;p=khome.git Add recipe to find untracked ~/bin items --- diff --git a/Makefile b/Makefile index 427eaec..4ffe078 100644 --- a/Makefile +++ b/Makefile @@ -158,6 +158,10 @@ diff: | sort -zr \ | xargs -0 -I% sh -c 'echo %; $(DIFF) --color=auto ~/% home/%' +.PHONY: diff_bins_untracked +diff_bins_untracked: + ls -1 ~/bin | sort | grep -vf <(ls -1 home/bin | sort) + pull: find home -type f -print0 \ | $(SED) -z 's/^home\///g' \