Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Deleting multiple files in Pentaho 5.0

  1. #1

    Question Deleting multiple files in Pentaho 5.0

    Hi,

    I have scheduled a report in Pentaho 5.0 and it is storing in the user's home folder (which is default location). I just need to delete some of the report outputs. Suppose the output location have 100 output files and we want to delete 7. out of 100. It will be very odd to delete all the 70 output one by one.

    Is there any way to delete more than one outputs at once.

    Please help to get it.

    I am using Pentaho 5.0

    Thanks
    Ashwin

  2. #2
    Join Date
    Mar 2012
    Posts
    276

    Default

    Hi

    You can achieve this by log-in to pentaho console using Admin .
    go to administration tab --> settings tab-----> under Schedule deletion of generated files click on edit , you can find scheduled job setting like below
    " Delete generated files older than "x" days using the following rules " in place of "X" replace with days .


    Thanks
    Surya Thanuri


  3. #3

    Default

    Hi,

    I checked this option but it is not the solution of my issue.
    Suppose on the same day by mistake you ran a report 10 times and now you realize that it was your mistake and now you want to delete 9 out of 10 outputs.

    If we use the DELETE NOW option then it is possible that other report output (which ran today and importent) also will be deleted with these 9 outputs what we want to delete.

    As per Pentaho for time being deleting multiple files is not possible.
    http://jira.pentaho.com/browse/BISERVER-10251

    Thanks
    Ashiwn

  4. #4
    Join Date
    Nov 2013
    Posts
    1

    Default

    Hi,

    I have same issue, my home's folder have 1000 files that generate from my Schedule. I set "Delete generated files older than 0 day" and "Delete Now". Waiting for 1 minute, and wonderful! Every generated files is gone... But my Dashboard files (and other files I created) is still...

    Let's try!

    I hope Pentaho should add helpful feature like "Select All" and "Delete Selected", but now it solved my problem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.