<?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 Rsync exclusion in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rsync-exclusion/m-p/3697320#M740063</link>
    <description>I have rsync running between my two 11i system in VA and Texas.  I have read the man pages but I am trying to use an exclusion list or something to clean up my script. For example I have a /usr/local directory on my LOCAL system with a number of sub directories but a DATA directory files is not needed on the REMOTE machine.  I have it working right now to do a seperate rsync process with a for loop in my weekly process.&lt;BR /&gt;ex:&lt;BR /&gt;LOC_DIR="bin sbin etc share"&lt;BR /&gt;for l in $LOC_DIR&lt;BR /&gt;do&lt;BR /&gt;rsync -arxz $l xx.x.xx.x:$LOC_DIR&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;I have something like this for a number of data directories but some of them have a large number of subdirectories that do not need to be copied...&lt;BR /&gt;&lt;BR /&gt;any suggestion using exclusion or excluded list would be helpful.&lt;BR /&gt;&lt;BR /&gt;HAPPY HOLIDAYS to you ALL ....&lt;BR /&gt;</description>
    <pubDate>Fri, 23 Dec 2005 08:16:08 GMT</pubDate>
    <dc:creator>Belinda Dermody</dc:creator>
    <dc:date>2005-12-23T08:16:08Z</dc:date>
    <item>
      <title>Rsync exclusion</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rsync-exclusion/m-p/3697320#M740063</link>
      <description>I have rsync running between my two 11i system in VA and Texas.  I have read the man pages but I am trying to use an exclusion list or something to clean up my script. For example I have a /usr/local directory on my LOCAL system with a number of sub directories but a DATA directory files is not needed on the REMOTE machine.  I have it working right now to do a seperate rsync process with a for loop in my weekly process.&lt;BR /&gt;ex:&lt;BR /&gt;LOC_DIR="bin sbin etc share"&lt;BR /&gt;for l in $LOC_DIR&lt;BR /&gt;do&lt;BR /&gt;rsync -arxz $l xx.x.xx.x:$LOC_DIR&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;I have something like this for a number of data directories but some of them have a large number of subdirectories that do not need to be copied...&lt;BR /&gt;&lt;BR /&gt;any suggestion using exclusion or excluded list would be helpful.&lt;BR /&gt;&lt;BR /&gt;HAPPY HOLIDAYS to you ALL ....&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Dec 2005 08:16:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rsync-exclusion/m-p/3697320#M740063</guid>
      <dc:creator>Belinda Dermody</dc:creator>
      <dc:date>2005-12-23T08:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rsync exclusion</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rsync-exclusion/m-p/3697321#M740064</link>
      <description>use the -- exclude clause of rsync&lt;BR /&gt;&lt;BR /&gt;i.e.&lt;BR /&gt;&lt;BR /&gt;rs                 --compress    \&lt;BR /&gt;                   -v           \&lt;BR /&gt;                   --delete           \&lt;BR /&gt;                   --rsh=/usr/bin/ssh \&lt;BR /&gt;                   --stats           \&lt;BR /&gt;                   --exclude=cache.dsk     \&lt;BR /&gt;                   --exclude=dil*.nsf     \&lt;BR /&gt;                   --archive \&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Dec 2005 08:26:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rsync-exclusion/m-p/3697321#M740064</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2005-12-23T08:26:52Z</dc:date>
    </item>
  </channel>
</rss>

