<?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 bulkimport + curl + delete files in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/bulkimport-curl-delete-files/m-p/68872#M22799</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use this following comand line to import documents and their metadata in alfresco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;curl -v -u admin:admin -L POST --url "localhost:8080/alfresco/s/bulkfsimport/initiate" --data "targetPath=/Sites/test/documentLibrary&amp;amp;sourceDirectory=/tmp/test&amp;amp;existingFileMode=REPLACE"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine but I'd like to know if there is an option which delete pdf and xml files once they've been imported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of my pdf and xml files will be automaticaly uploaded in the folder /tmp/test and this comand line will be used in a batch and a cron. I have to delete the files that have already been imported in the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Nov 2018 06:28:06 GMT</pubDate>
    <dc:creator>livier</dc:creator>
    <dc:date>2018-11-16T06:28:06Z</dc:date>
    <item>
      <title>bulkimport + curl + delete files</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bulkimport-curl-delete-files/m-p/68872#M22799</link>
      <description>Hi everyone,I use this following comand line to import documents and their metadata in alfrescocurl -v -u admin:admin -L POST --url "localhost:8080/alfresco/s/bulkfsimport/initiate" --data "targetPath=/Sites/test/documentLibrary&amp;amp;sourceDirectory=/tmp/test&amp;amp;existingFileMode=REPLACE"It works fin</description>
      <pubDate>Fri, 16 Nov 2018 06:28:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bulkimport-curl-delete-files/m-p/68872#M22799</guid>
      <dc:creator>livier</dc:creator>
      <dc:date>2018-11-16T06:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: bulkimport + curl + delete files</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bulkimport-curl-delete-files/m-p/68873#M22800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After a standard bulk import you need to clean manually your PDF and XML files (for example, via crontab and find / rm commands in linux). In Enterprise edition, you can use inplace bulks (in this case you may need to delete not the PDF but XML files).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 07:42:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bulkimport-curl-delete-files/m-p/68873#M22800</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2018-11-16T07:42:43Z</dc:date>
    </item>
  </channel>
</rss>

