You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2022/08/08 14:47:00 UTC

[jira] [Commented] (IO-596) Add DeleteFiles utility class for more robust file deletion strategies

    [ https://issues.apache.org/jira/browse/IO-596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17576829#comment-17576829 ] 

Gary D. Gregory commented on IO-596:
------------------------------------

Hi [~mattsicker] 

How about the various delete methods in {{PathUtils}}?

> Add DeleteFiles utility class for more robust file deletion strategies
> ----------------------------------------------------------------------
>
>                 Key: IO-596
>                 URL: https://issues.apache.org/jira/browse/IO-596
>             Project: Commons IO
>          Issue Type: New Feature
>          Components: Utilities
>            Reporter: Matt Sicker
>            Assignee: Matt Sicker
>            Priority: Major
>          Time Spent: 4h
>  Remaining Estimate: 0h
>
> Particularly for Windows environments where deleting files can turn into a hassle due to the inability to remove open files, I would like to provide a file deletion utility class that has the ability to retry deletions with exponential backoff, force override file attributes to allow for deletion, and deleting as much as possible while accumulating errors.
> This functionality was originally inspired by and based on functionality in Jenkins hudson.Util class.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)