Issue
I want to grep -R
a directory but exclude symlinks how dow I do it?
Maybe something like grep -R --no-symlinks
or something?
Thank you.
Solution
Gnu grep v2.11-8 and on if invoked with -r
excludes symlinks not specified on the command line and includes them when invoked with -R
.
Answered By - Aryeh Leib Taurog Answer Checked By - Candace Johnson (WPSolving Volunteer)