<?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 shell script to automatically archive sas log after 30 days in unix and automate using autosys in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/shell-script-to-automatically-archive-sas-log-after-30-days-in/m-p/509110#M136818</link>
    <description>&lt;P&gt;Pls could someone help to know how to write shell script which can archive sas log in unix after 30 days automatically.&lt;/P&gt;</description>
    <pubDate>Wed, 31 Oct 2018 14:04:01 GMT</pubDate>
    <dc:creator>shuchidxt_gmail_com</dc:creator>
    <dc:date>2018-10-31T14:04:01Z</dc:date>
    <item>
      <title>shell script to automatically archive sas log after 30 days in unix and automate using autosys</title>
      <link>https://communities.sas.com/t5/SAS-Programming/shell-script-to-automatically-archive-sas-log-after-30-days-in/m-p/509110#M136818</link>
      <description>&lt;P&gt;Pls could someone help to know how to write shell script which can archive sas log in unix after 30 days automatically.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 14:04:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/shell-script-to-automatically-archive-sas-log-after-30-days-in/m-p/509110#M136818</guid>
      <dc:creator>shuchidxt_gmail_com</dc:creator>
      <dc:date>2018-10-31T14:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: shell script to automatically archive sas log after 30 days in unix and automate using autosys</title>
      <link>https://communities.sas.com/t5/SAS-Programming/shell-script-to-automatically-archive-sas-log-after-30-days-in/m-p/509120#M136823</link>
      <description>&lt;P&gt;The command to find files older than 30 day is this:&lt;/P&gt;
&lt;PRE&gt;find /path -type f -name \*.log -mtime +30&lt;/PRE&gt;
&lt;P&gt;How you go on from that depends on what you mean by "archive". If you use software like IBM TSM, you'd write the result of a file and use that for the dsmc command. If you just want to move files one-by-one to a given location, you can add a -exec action to the find command.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 14:23:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/shell-script-to-automatically-archive-sas-log-after-30-days-in/m-p/509120#M136823</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-31T14:23:18Z</dc:date>
    </item>
  </channel>
</rss>

