Per the link that @swdev posted in a comment above, the only way to do this by sending it to a file and then using grep
on that file when you are in csh.
Exclude permission denied messages from find
質問
In bash, I can redirect stderr using 2>&1 with the find
command and pipe it to grep
to remove any Permission denied
messages. How do I do this in csh? I am getting the error message Ambiguous output redirect
. I have already tried the syntax at this question, and it gives me the error described.
解決 2
他のヒント
Theoretically you can use "! -executable -prune -o ..." to enter only accessible directories.
所属していません StackOverflow