Yes I only want the .git. Indeed your way to invoke find is more correct. However it still need a change to work on my Ubuntu computer. This one worked.
find /home/git/ -maxdepth 1 -name "*.git" -type d The maxdepth option should be moved to front and its value should be 1. Your way to invoke find is indeed better than mine Le jeudi 21 janvier 2016 14:49:35 UTC+1, Brian Coca a écrit : > > if you only want the .gits: > > with_lines: find /home/git/ -name '*.git' -type d -maxdepth 0 > > > > > -- > Brian Coca > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c75834ba-25d4-481e-9aaf-b97070060820%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
