Globs, Types, and Ignore Rules/Follow symbolic links

Traverse symlinked directories and files.

Section: Hidden files and ignore rules

Follow symbolic links

bash
bash
rg -L 'router' packages/
Explanation

This can be important in workspaces that use symlink-based dependency managers.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Hidden files and ignore rules
Include hidden files
Search dotfiles and hidden directories too.
OpenIn sheetbashsame section
Ignore .gitignore and other ignore files
Search everything except hidden/binary defaults.
OpenIn sheetbashsame section
Disable all automatic filtering
Search hidden, binary, and ignored files.
OpenIn sheetbashsame section
Use an extra ignore file
Apply additional ignore patterns from a custom file.
OpenIn sheetbashsame section
Search only JavaScript files
Restrict matches to paths matching a glob.
OpenIn sheetbash1 tag match
Search only Rust files
Use a built-in type definition.
OpenIn sheetbash1 tag match