<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nas on ads' corner</title><link>https://andreas.scherbaum.la/tags/nas/</link><description>Recent content in Nas on ads' corner</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 14 Mar 2023 17:06:00 +0100</lastBuildDate><atom:link href="https://andreas.scherbaum.la/tags/nas/index.xml" rel="self" type="application/rss+xml"/><item><title>QNAP: exclude files and directories from rsync</title><link>https://andreas.scherbaum.la/post/2023-03-14_qnap-exclude-files-and-directories-from-rsync/</link><pubDate>Tue, 14 Mar 2023 17:06:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2023-03-14_qnap-exclude-files-and-directories-from-rsync/</guid><description>&lt;p&gt;I&amp;rsquo;m moving files from one QNAP system to another, and I&amp;rsquo;m using &lt;a href="https://rsync.samba.org/"&gt;rsync&lt;/a&gt; for this. It&amp;rsquo;s preinstalled on a QNAP system. So far, so good.&lt;/p&gt;&#10;&lt;p&gt;To sync entire shared volumes, I want to exclude the &lt;code&gt;@Recently-Snapshot&lt;/code&gt; and &lt;code&gt;@Recycle&lt;/code&gt; entries - I don&amp;rsquo;t want to sync the trash bin and I also don&amp;rsquo;t want to sync entire snapshots.&lt;/p&gt;&#10;&lt;p&gt;The usual approach when using &lt;code&gt;rsync&lt;/code&gt; is to just use the &lt;code&gt;--exclude&lt;/code&gt; option.&lt;/p&gt;</description></item></channel></rss>