<?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: Nuxeo Drive - Exclude some files of the synchronisation in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-exclude-some-files-of-the-synchronisation/m-p/320536#M7537</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;There is a set of prefixes / suffixes that should be ignored by Drive:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;DEFAULT_IGNORED_SUFFIXES = [
    '~',  # editor buffers
    '.swp',  # vim swap files
    '.lock',  # some process use file locks
    '.LOCK',  # other locks
    '.part',  # partially downloaded files
]

DEFAULT_IGNORED_PREFIXES = [
    '.',  # hidden Unix files
    '~$',  # Windows lock files
    'Thumbs.db',  # Thumbnails files
]
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Strange that in your case the .lock file is uploaded to the server.&lt;/P&gt;
&lt;P&gt;In my case, under Ubuntu, when editing an ODT file with LibreOffice, the temp file is named &lt;CODE&gt;.~lock.Test.odt#&lt;/CODE&gt;, so it is ignored because it starts with a dot (.)&lt;/P&gt;
&lt;P&gt;What is your OS and version of Nuxeo Drive?&lt;/P&gt;
&lt;P&gt;Note that for now you cannot customize these prefixes / suffixes as they're hardcoded in the client code, yet this improvement is planned and tracked by &lt;A href="https://jira.nuxeo.com/browse/NXDRIVE-158"&gt;NXDRIVE-158&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Nov 2014 11:28:46 GMT</pubDate>
    <dc:creator>ataillefer_</dc:creator>
    <dc:date>2014-11-28T11:28:46Z</dc:date>
    <item>
      <title>Nuxeo Drive - Exclude some files of the synchronisation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-exclude-some-files-of-the-synchronisation/m-p/320535#M7536</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Can we exclude some files in the synchronization of NuxeoDrive?&lt;/P&gt;
&lt;P&gt;For example, when editing a ODT file with LibreOffice / OpenOffice, it automatically creates a .lock file and it is synchronized by NuxeoDrive the repository.&lt;/P&gt;
&lt;P&gt;Problem: When you are subscriber notification on the folder, an email is received for the .lock file&lt;/P&gt;
&lt;P&gt;Thks&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2014 08:11:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-exclude-some-files-of-the-synchronisation/m-p/320535#M7536</guid>
      <dc:creator>Pierre_Jenicot1</dc:creator>
      <dc:date>2014-11-28T08:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Drive - Exclude some files of the synchronisation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-exclude-some-files-of-the-synchronisation/m-p/320536#M7537</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;There is a set of prefixes / suffixes that should be ignored by Drive:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;DEFAULT_IGNORED_SUFFIXES = [
    '~',  # editor buffers
    '.swp',  # vim swap files
    '.lock',  # some process use file locks
    '.LOCK',  # other locks
    '.part',  # partially downloaded files
]

DEFAULT_IGNORED_PREFIXES = [
    '.',  # hidden Unix files
    '~$',  # Windows lock files
    'Thumbs.db',  # Thumbnails files
]
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Strange that in your case the .lock file is uploaded to the server.&lt;/P&gt;
&lt;P&gt;In my case, under Ubuntu, when editing an ODT file with LibreOffice, the temp file is named &lt;CODE&gt;.~lock.Test.odt#&lt;/CODE&gt;, so it is ignored because it starts with a dot (.)&lt;/P&gt;
&lt;P&gt;What is your OS and version of Nuxeo Drive?&lt;/P&gt;
&lt;P&gt;Note that for now you cannot customize these prefixes / suffixes as they're hardcoded in the client code, yet this improvement is planned and tracked by &lt;A href="https://jira.nuxeo.com/browse/NXDRIVE-158"&gt;NXDRIVE-158&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2014 11:28:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-exclude-some-files-of-the-synchronisation/m-p/320536#M7537</guid>
      <dc:creator>ataillefer_</dc:creator>
      <dc:date>2014-11-28T11:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Drive - Exclude some files of the synchronisation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-exclude-some-files-of-the-synchronisation/m-p/320537#M7538</link>
      <description>&lt;P&gt;I'm under Ubuntu 12.04 with LibreOffice 4.3&lt;/P&gt;
&lt;P&gt;When I open an ODS file with LibreOffice, the file ".~Lock.Main courante.ods#" synchronizes and gets directly into the trash.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/Selection_001_2.png" alt="alt text" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/Selection_002_3.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2014 15:42:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-exclude-some-files-of-the-synchronisation/m-p/320537#M7538</guid>
      <dc:creator>Pierre_Jenicot1</dc:creator>
      <dc:date>2014-11-28T15:42:58Z</dc:date>
    </item>
  </channel>
</rss>

