PeterPanettone 157 Posted May 27, 2019 I have added this feature request in GExperts: https://sourceforge.net/p/gexperts/feature-requests/65/ This OPTION would add a lot of useful flexibility to directory Search in Grep Search: If Grep Search finds a shortcut link (*.lnk) of a directory in the search directory (e.g. pointing to D:\MyProject) then Grep Search additionally searches in directory: D:\MyProject If Grep Search finds a shortcut link of a file in the search directory (e.g. pointing to F:\MyRoutines.pas) then Grep Search additionally searches in the file: F:\MyRoutines.pas This would allow me to create a directory full of shortcut links pointing to preferred source code directories and favorite source code files to concentrate the grep search on specific content. This would be very useful! What do you people think? Share this post Link to post
Sherlock 663 Posted May 28, 2019 I hope nobody builds infinite loops that way... Share this post Link to post
PeterPanettone 157 Posted May 28, 2019 (edited) 2 hours ago, Sherlock said: I hope nobody builds infinite loops that way... It would be very easy to detect recursive links and (implicitly) visited files/links/dirs... Another approach would be using hardlinks. Would work with current search. Edited May 28, 2019 by PeterPanettone Share this post Link to post
dummzeuch 1505 Posted May 28, 2019 1 hour ago, PeterPanettone said: Another approach would be using hardlinks. Would work with current search. I'm afraid recursive hardlinks word result in an infinite loop right now. Share this post Link to post
PeterPanettone 157 Posted May 28, 2019 (edited) 8 minutes ago, dummzeuch said: I'm afraid recursive hardlinks word result in an infinite loop right now. Who would be so stupid to create recursive hardlinks? (I am not sure whether Windows allows to create recursive hardlinks at all?) And What does this have necessarily to do with Grep Search? Edited May 28, 2019 by PeterPanettone Share this post Link to post