Originally Posted by nx5000
If you want to remove duplicates, go with:
command | sort | uniq
The other command given by somebody else works though, replace path by the real path and don't forget about the " otherwise the shell will happily replace it before running the find which would result in no matches
I was just about to post that:
find -name \*.bit -printf %h\\n | uniq
works. I will try the other command as well, with the real path. Thanks!