fixed fd call to include hidden files

This commit is contained in:
Daniel Fichtinger 2025-05-24 21:52:26 -04:00
parent 465bc51b39
commit 41677e43c0

View file

@ -56,7 +56,7 @@ fi
if [ -d "$path" ]; then
if [ "$FD" == "true" ]; then
# we prefer fd because it respects .ignore and .gitignore
fd --no-require-git -t f . "$path" -X yadm add
fd --no-require-git --hidden -t f . "$path" -X yadm add
else
find "$path" -type f -exec yadm add {} +
fi