<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Deleting and moving JMP data files on disk from JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Deleting-and-moving-JMP-data-files-on-disk-from-JSL/m-p/5858#M5857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using jmp 10.0.1, some new functions are available&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/demosdownloads/000981/JMP_1001_release_notes.pdf"&gt;http://support.sas.com/demosdownloads/000981/JMP_1001_release_notes.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;JSL File and Directory commands are available, including :&lt;/P&gt;&lt;P&gt;File Exists( path )&lt;/P&gt;&lt;P&gt;Directory Exists( path )&lt;/P&gt;&lt;P&gt;Copy Directory( from, to, {1/*recursive*/} )&lt;/P&gt;&lt;P&gt;Copy File( from, to )&lt;/P&gt;&lt;P&gt;Move Directory( from, to )&lt;/P&gt;&lt;P&gt;Move File( from, to )&lt;/P&gt;&lt;P&gt;Rename Directory( old, new )&lt;/P&gt;&lt;P&gt;Rename File( old, new )&lt;/P&gt;&lt;P&gt;Delete Directory( path )&lt;/P&gt;&lt;P&gt;Delete File( path )&lt;/P&gt;&lt;P&gt;Create Directory( path )&lt;/P&gt;&lt;P&gt;Last Modification Date( path )&lt;/P&gt;&lt;P&gt;Creation Date( path )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Oct 2012 10:37:14 GMT</pubDate>
    <dc:creator>gbu</dc:creator>
    <dc:date>2012-10-29T10:37:14Z</dc:date>
    <item>
      <title>Deleting and moving JMP data files on disk from JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Deleting-and-moving-JMP-data-files-on-disk-from-JSL/m-p/5857#M5856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's an exceptionally helpful thread on this forum at&lt;SPAN style="color: black; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: PMingLiU; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt; &lt;A _jive_internal="true" href="https://community.jmp.com/message/32475#32475"&gt;https://communities.sas.com/message/32475#32475&lt;/A&gt; which shows how to use DLL files to delete or move data files from within JSL, but the script appears to be specific to Windows.&amp;nbsp; I'd like to assemble something that would work equally well on both Windows &lt;EM&gt;and&lt;/EM&gt; Macs.&amp;nbsp; Does anyone know if that can be done please - and if so, how?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 09:13:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Deleting-and-moving-JMP-data-files-on-disk-from-JSL/m-p/5857#M5856</guid>
      <dc:creator />
      <dc:date>2012-10-29T09:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting and moving JMP data files on disk from JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Deleting-and-moving-JMP-data-files-on-disk-from-JSL/m-p/5858#M5857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using jmp 10.0.1, some new functions are available&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/demosdownloads/000981/JMP_1001_release_notes.pdf"&gt;http://support.sas.com/demosdownloads/000981/JMP_1001_release_notes.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;JSL File and Directory commands are available, including :&lt;/P&gt;&lt;P&gt;File Exists( path )&lt;/P&gt;&lt;P&gt;Directory Exists( path )&lt;/P&gt;&lt;P&gt;Copy Directory( from, to, {1/*recursive*/} )&lt;/P&gt;&lt;P&gt;Copy File( from, to )&lt;/P&gt;&lt;P&gt;Move Directory( from, to )&lt;/P&gt;&lt;P&gt;Move File( from, to )&lt;/P&gt;&lt;P&gt;Rename Directory( old, new )&lt;/P&gt;&lt;P&gt;Rename File( old, new )&lt;/P&gt;&lt;P&gt;Delete Directory( path )&lt;/P&gt;&lt;P&gt;Delete File( path )&lt;/P&gt;&lt;P&gt;Create Directory( path )&lt;/P&gt;&lt;P&gt;Last Modification Date( path )&lt;/P&gt;&lt;P&gt;Creation Date( path )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 10:37:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Deleting-and-moving-JMP-data-files-on-disk-from-JSL/m-p/5858#M5857</guid>
      <dc:creator>gbu</dc:creator>
      <dc:date>2012-10-29T10:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting and moving JMP data files on disk from JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Deleting-and-moving-JMP-data-files-on-disk-from-JSL/m-p/5859#M5858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even better than I'd hoped for.&amp;nbsp; Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 11:58:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Deleting-and-moving-JMP-data-files-on-disk-from-JSL/m-p/5859#M5858</guid>
      <dc:creator />
      <dc:date>2012-10-29T11:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting and moving JMP data files on disk from JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Deleting-and-moving-JMP-data-files-on-disk-from-JSL/m-p/5860#M5859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All, Copy File() works in JMP 9.0.3 (or at least for me).&amp;nbsp; Very nice.&amp;nbsp; dj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 15:18:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Deleting-and-moving-JMP-data-files-on-disk-from-JSL/m-p/5860#M5859</guid>
      <dc:creator>djhanson</dc:creator>
      <dc:date>2013-04-19T15:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting and moving JMP data files on disk from JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Deleting-and-moving-JMP-data-files-on-disk-from-JSL/m-p/596678#M80031</link>
      <description>&lt;P&gt;Can some one share a move file jsl by search the key words in file name?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 05:58:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Deleting-and-moving-JMP-data-files-on-disk-from-JSL/m-p/596678#M80031</guid>
      <dc:creator>Stokes</dc:creator>
      <dc:date>2023-02-03T05:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting and moving JMP data files on disk from JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Deleting-and-moving-JMP-data-files-on-disk-from-JSL/m-p/596717#M80034</link>
      <description>&lt;P&gt;This is very old post and some functions might have changed or there might be new ones.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Use &lt;A href="https://help.jmp.com/help?keyword=JSL%20Files%20In%20Directory&amp;amp;lang=en&amp;amp;os=win&amp;amp;source=application&amp;amp;version=17.0.0" target="_blank" rel="noopener"&gt;Files In Directory()&lt;/A&gt; (or some other way) to get a list of file names&lt;/LI&gt;
&lt;LI&gt;Use appropriate character functions on those items by using a loop (For Each, Filter Each if you have JMP16+, if not use For loop) to filter down the list
&lt;OL&gt;
&lt;LI&gt;&lt;A href="https://www.jmp.com/support/help/en/17.0/#page/jmp/character-functions-2.shtml?os=win&amp;amp;source=application#ww2467451" target="_blank" rel="noopener"&gt;Contains()&lt;/A&gt;, &lt;A href="https://www.jmp.com/support/help/en/17.0/#page/jmp/character-functions-2.shtml?os=win&amp;amp;source=application#ww2489516" target="_blank" rel="noopener"&gt;Starts With()&lt;/A&gt; , &lt;A href="https://www.jmp.com/support/help/en/17.0/#page/jmp/character-functions-2.shtml?os=win&amp;amp;source=application#ww2468785" target="_self"&gt;Ends With()&lt;/A&gt; . And for more complicated comparisons you can for example use &lt;A href="https://help.jmp.com/help?keyword=JSL%20Is%20Missing&amp;amp;lang=en&amp;amp;os=win&amp;amp;source=application&amp;amp;version=17.0.0" target="_self"&gt;IsMissing()&lt;/A&gt; with &lt;A href="https://www.jmp.com/support/help/en/17.0/#page/jmp/character-functions-2.shtml?os=win&amp;amp;source=application#ww4813286" target="_blank" rel="noopener"&gt;Regex()&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;Perform action on the filtered list&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 03 Feb 2023 08:20:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Deleting-and-moving-JMP-data-files-on-disk-from-JSL/m-p/596717#M80034</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-02-03T08:20:32Z</dc:date>
    </item>
  </channel>
</rss>

