<?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 specified directories (include/exclude pattern rules) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rsync-specified-directories-include-exclude-pattern-rules/m-p/6510612#M487269</link>
    <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i try to copy with &lt;STRONG&gt;rsync&lt;/STRONG&gt;&amp;nbsp; a specified directory and the according folders and files below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cd /tmp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my version ( not correct, because i match other directories) :&lt;/P&gt;&lt;PRE&gt;/usr/bin/rsync  -ravz -e ssh --include='*/' --include='*/&lt;STRONG&gt;00&lt;/STRONG&gt;/*/*' --exclude='*' .  remote_host:/tmp&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to copy in these example the directory "&lt;STRONG&gt;00&lt;/STRONG&gt;" and the according folders and files below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the structure of the directories are :&lt;BR /&gt;&lt;BR /&gt;000001&lt;BR /&gt;000001/&lt;STRONG&gt;00&lt;/STRONG&gt;&lt;BR /&gt;000001/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir1&lt;BR /&gt;000001/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir1/file1&lt;BR /&gt;000001/&lt;STRONG&gt;0&lt;/STRONG&gt;0/dir1/file2&lt;BR /&gt;000001/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir2&lt;BR /&gt;000001/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir2/file1&lt;BR /&gt;000001/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir2/file2&lt;BR /&gt;000001/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir3&lt;BR /&gt;000001/01&lt;BR /&gt;000001/01/dir1&lt;BR /&gt;000001/01/dir1/file1&lt;BR /&gt;000001/01/dir1/file2&lt;BR /&gt;000001/01/dir2&lt;BR /&gt;000001/01/dir2/file1&lt;BR /&gt;000001/01/dir2/file2&lt;BR /&gt;000001/01/dir3&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;000002&lt;BR /&gt;000002/&lt;STRONG&gt;00&lt;/STRONG&gt;&lt;BR /&gt;000002/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir1&lt;BR /&gt;000002/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir1/file1&lt;BR /&gt;000002/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir1/file2&lt;BR /&gt;000002/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir2&lt;BR /&gt;000002/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir2/file1&lt;BR /&gt;000002/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir2/file2&lt;BR /&gt;000002/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir3&lt;BR /&gt;000002/01&lt;BR /&gt;000002/01/dir1&lt;BR /&gt;000002/01/dir1/file1&lt;BR /&gt;000002/01/dir1/file2&lt;BR /&gt;000002/01/dir2&lt;BR /&gt;000002/01/dir2/file1&lt;BR /&gt;000002/01/dir2/file2&lt;BR /&gt;000002/01/dir3&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jun 2014 11:45:59 GMT</pubDate>
    <dc:creator>support_billa</dc:creator>
    <dc:date>2014-06-16T11:45:59Z</dc:date>
    <item>
      <title>rsync specified directories (include/exclude pattern rules)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rsync-specified-directories-include-exclude-pattern-rules/m-p/6510612#M487269</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i try to copy with &lt;STRONG&gt;rsync&lt;/STRONG&gt;&amp;nbsp; a specified directory and the according folders and files below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cd /tmp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my version ( not correct, because i match other directories) :&lt;/P&gt;&lt;PRE&gt;/usr/bin/rsync  -ravz -e ssh --include='*/' --include='*/&lt;STRONG&gt;00&lt;/STRONG&gt;/*/*' --exclude='*' .  remote_host:/tmp&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to copy in these example the directory "&lt;STRONG&gt;00&lt;/STRONG&gt;" and the according folders and files below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the structure of the directories are :&lt;BR /&gt;&lt;BR /&gt;000001&lt;BR /&gt;000001/&lt;STRONG&gt;00&lt;/STRONG&gt;&lt;BR /&gt;000001/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir1&lt;BR /&gt;000001/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir1/file1&lt;BR /&gt;000001/&lt;STRONG&gt;0&lt;/STRONG&gt;0/dir1/file2&lt;BR /&gt;000001/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir2&lt;BR /&gt;000001/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir2/file1&lt;BR /&gt;000001/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir2/file2&lt;BR /&gt;000001/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir3&lt;BR /&gt;000001/01&lt;BR /&gt;000001/01/dir1&lt;BR /&gt;000001/01/dir1/file1&lt;BR /&gt;000001/01/dir1/file2&lt;BR /&gt;000001/01/dir2&lt;BR /&gt;000001/01/dir2/file1&lt;BR /&gt;000001/01/dir2/file2&lt;BR /&gt;000001/01/dir3&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;000002&lt;BR /&gt;000002/&lt;STRONG&gt;00&lt;/STRONG&gt;&lt;BR /&gt;000002/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir1&lt;BR /&gt;000002/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir1/file1&lt;BR /&gt;000002/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir1/file2&lt;BR /&gt;000002/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir2&lt;BR /&gt;000002/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir2/file1&lt;BR /&gt;000002/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir2/file2&lt;BR /&gt;000002/&lt;STRONG&gt;00&lt;/STRONG&gt;/dir3&lt;BR /&gt;000002/01&lt;BR /&gt;000002/01/dir1&lt;BR /&gt;000002/01/dir1/file1&lt;BR /&gt;000002/01/dir1/file2&lt;BR /&gt;000002/01/dir2&lt;BR /&gt;000002/01/dir2/file1&lt;BR /&gt;000002/01/dir2/file2&lt;BR /&gt;000002/01/dir3&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2014 11:45:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rsync-specified-directories-include-exclude-pattern-rules/m-p/6510612#M487269</guid>
      <dc:creator>support_billa</dc:creator>
      <dc:date>2014-06-16T11:45:59Z</dc:date>
    </item>
  </channel>
</rss>

