<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:12pt" ><div dir="ltr" >Could you use the PATHNAME LIKE statement to limit the location to the files of interest?</div>
<div dir="ltr" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10pt" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div dir="ltr" ><br><font size="2" face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" ><span style="font-size:1.143em;" >Fred<br>_______________________________________________________<br>Fred Stock | Spectrum Scale Development Advocacy | 720-430-8821<br>stockf@us.ibm.com</span></font></div></div></div></div>
<div dir="ltr" > </div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: "Oesterlin, Robert" <Robert.Oesterlin@nuance.com><br>Sent by: gpfsug-discuss-bounces@spectrumscale.org<br>To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>Cc:<br>Subject: [EXTERNAL] [gpfsug-discuss] Policy scan of symbolic links with contents?<br>Date: Mon, Mar 8, 2021 10:12 AM<br> <br><!--Notes ACF
<meta http-equiv="Content-Type" content="text/html; charset=utf8" >-->
<div><p style="margin: 0px;" ><span style="font-size:11.0pt" >Looking to craft a policy scan that pulls out symbolic links to a particular destination. For instance:<o:p></o:p></span></p>
<p style="margin: 0px;" ><span style="font-size:11.0pt" ><o:p> </o:p></span></p>
<p style="margin: 0px;" ><span style="font-size:11.0pt" >file1.py -> /fs1/patha/pathb/file1.py (I want to include these)<o:p></o:p></span></p>
<p style="margin: 0px;" ><span style="font-size:11.0pt" >file2.py -> /fs2/patha/pathb/file2.py (exclude these)<o:p></o:p></span></p>
<p style="margin: 0px;" ><span style="font-size:11.0pt" ><o:p> </o:p></span></p>
<p style="margin: 0px;" ><span style="font-size:11.0pt" >The easy way would be to pull out all sym-links and just grep for the ones I want but was hoping for a more elegant solution…<o:p></o:p></span></p>
<p style="margin: 0px;" ><span style="font-size:11.0pt" ><o:p> </o:p></span></p>
<p style="margin: 0px;" ><span style="font-size:11.0pt" ><o:p> </o:p></span></p>
<p style="margin: 0px;" >Bob Oesterlin<o:p></o:p></p>
<p style="margin: 0px;" >Sr Principal Storage Engineer, Nuance<o:p></o:p></p>
<p style="margin: 0px;" ><o:p> </o:p></p></div>
<div><font size="2" face="Default Monospace,Courier New,Courier,monospace" >_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=p_1XEUyoJ7-VJxF_w8h9gJh8_Wj0Pey73LCLLoxodpw&m=i6m1zVXf4peZo0yo02IiRaQ_pUX95MN3wU53M0NiWcI&s=z-ibh2kAPHbehAsrGavNIg2AJdXmHkpUwy5YhZfUbpc&e=" target="_blank" >https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=p_1XEUyoJ7-VJxF_w8h9gJh8_Wj0Pey73LCLLoxodpw&m=i6m1zVXf4peZo0yo02IiRaQ_pUX95MN3wU53M0NiWcI&s=z-ibh2kAPHbehAsrGavNIg2AJdXmHkpUwy5YhZfUbpc&e=</a> </font></div></blockquote>
<div dir="ltr" > </div></div><BR>