× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Mostly curiosity.
I think with a link in his "home" a user can access a file, even if he has no permission to the directory in which the "real" file resides.
Also to know which "netData macros" will stop working if I remove a file.

Scott Klement wrote:

By "soft" links, I assume you mean symbolic links.

Since symlinks can cross file systems, if you decide to use 'find' to search for all symlinks, make sure you account for the possibility that they might cross file systems, and search everything.

(Which can take an extremely long time, in my experience)

Why do you need to know all of the symbolic links that point to a file? I've never run into a need for that...

On 2/17/2010 2:43 PM, Dennis Lovelady wrote:

Since soft links work differently, you need a different approach. You can
use the find command with -ls switch to show all files, and then grep for
'-> myfile' But the trick is that myfile may be a qualified, relative or
un-pathed value.






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.