I'm trying to find all C# interfaces from a given directory. I tried doing this command:
find . -type f | xargs basename | grep ^I
but basename is giving back an error since I'm sending it a list of strings, not a string itself. How do I get the output of basename executed over all the strings piped to it?
... | xargs -i basename "{}" | ...?echo I*? (Perhaps you really need a recursive listing, or maybe you have folders whose names start withI?)