<?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: delete folder with 30000 files in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286792#M239922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angel thanks for your help, but if possible could you help me in a question a little more complex:&lt;/P&gt;&lt;P&gt;How cam I modify your suggestion for delete nodes based on a custom property, ex: delete nodes with a when &amp;nbsp;property "xyz:cam_delete" is true&amp;nbsp;-&amp;nbsp;or how would sql query to get nodes by the value of any custom property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jun 2018 13:20:49 GMT</pubDate>
    <dc:creator>avmcf</dc:creator>
    <dc:date>2018-06-05T13:20:49Z</dc:date>
    <item>
      <title>delete folder with 30000 files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286784#M239914</link>
      <description>Hi,We have two folders with approx 30000 files, which we can not open and also can not delete,has anybody any expierience with solving this kind of problem?Is there ascript that we can run to delete this folders?thanks in advance for the helpsharik</description>
      <pubDate>Sat, 17 Jan 2015 13:01:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286784#M239914</guid>
      <dc:creator>sharik</dc:creator>
      <dc:date>2015-01-17T13:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: delete folder with 30000 files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286785#M239915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can always try to delete the folder from Alfresco Explorer rather than using Share. Alternatively if you have alfresco mapped as a CIFS drive, you can delete the folder from there as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 05:35:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286785#M239915</guid>
      <dc:creator>kavilash23</dc:creator>
      <dc:date>2015-01-19T05:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: delete folder with 30000 files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286786#M239916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I suspect you have a multitude of issues here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In share you can only delete 50 at a time &amp;amp; if you try and delete the folder it will likely timeout and rollback.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, if you do succeed then you will end up with 30,000 items in the Trash and the same problem again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the assumption you only need to do this once, I can think of 3 possible solutions:-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Write a webscript that will find this folder, then for the first 100 child documents add sys:temporary the aspect and delete the document and then stop. Call that webscript manually from a webbrowser 300 times using some external scripting language 300 times. You may be able to delete more than 100 at a time before you run into transaction buffer size issues. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Write some Javavscript that will do the same and create a Quartz scheduled job that repeatedly calls it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Write a Java Bean that will do the above but controll the transaction in the bean so you need to run it only once.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For a one off, 1 is probably easier. If you do not add sys:temporary then your 30,000 items will end up in the trash and you then have a problem deleting them from the trash (unless you are already running a trashcan cleaner).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 10:20:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286786#M239916</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2015-01-19T10:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: delete folder with 30000 files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286787#M239917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir&amp;nbsp;&lt;B&gt;Sharik _&lt;/B&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have same problem. Did you have a solution for this? Can you share us the solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 03:18:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286787#M239917</guid>
      <dc:creator>brianmark2</dc:creator>
      <dc:date>2017-05-17T03:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: delete folder with 30000 files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286788#M239918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir &lt;A __default_attr="112193" __jive_macro_name="user" _jive_internal="true" data-id="112193" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/rjohnson" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not a developer and I am just a newbie, could you help us or give us a sample script we can follow to solve this (step by step)? and how and where can we insert or add the webscript so we can use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 03:22:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286788#M239918</guid>
      <dc:creator>brianmark2</dc:creator>
      <dc:date>2017-05-17T03:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: delete folder with 30000 files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286789#M239919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;You can also use a CMIS approach like this&amp;nbsp;&lt;A href="https://github.com/keensoft/MassiveDelete" rel="nofollow noopener noreferrer"&gt;https://github.com/keensoft/MassiveDelete&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 06:01:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286789#M239919</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2017-05-17T06:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: delete folder with 30000 files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286790#M239920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sir I will try it today.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 08:42:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286790#M239920</guid>
      <dc:creator>brianmark2</dc:creator>
      <dc:date>2017-05-17T08:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: delete folder with 30000 files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286791#M239921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sir may I ask where will I add or insert the folder&amp;nbsp;MassiveDelete-master? Can you tell us the path?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 09:55:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286791#M239921</guid>
      <dc:creator>brianmark2</dc:creator>
      <dc:date>2017-05-17T09:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: delete folder with 30000 files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286792#M239922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angel thanks for your help, but if possible could you help me in a question a little more complex:&lt;/P&gt;&lt;P&gt;How cam I modify your suggestion for delete nodes based on a custom property, ex: delete nodes with a when &amp;nbsp;property "xyz:cam_delete" is true&amp;nbsp;-&amp;nbsp;or how would sql query to get nodes by the value of any custom property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 13:20:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286792#M239922</guid>
      <dc:creator>avmcf</dc:creator>
      <dc:date>2018-06-05T13:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: delete folder with 30000 files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286793#M239923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably this blog post could help you:&lt;/P&gt;&lt;P&gt;&lt;A href="https://angelborroy.wordpress.com/2018/05/30/alfresco-counting-more-than-1000-elements/" rel="nofollow noopener noreferrer"&gt;https://angelborroy.wordpress.com/2018/05/30/alfresco-counting-more-than-1000-elements/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 07:40:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286793#M239923</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-06-06T07:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: delete folder with 30000 files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286794#M239924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 11:35:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delete-folder-with-30000-files/m-p/286794#M239924</guid>
      <dc:creator>avmcf</dc:creator>
      <dc:date>2018-06-06T11:35:35Z</dc:date>
    </item>
  </channel>
</rss>

