Skip to content

Windows deault duplicate folder name #2

@scauwe

Description

@scauwe

Hi,

maybe due to regional settings, but the default "duplicates" folder that is generated on my config contains ":".
This generates the following errors:
�[34mCleaning 'com.novell.prov.vdd #4.0.0.201910221727 @.\plugins' duplicates 'com.novell.prov.vdd #4.0.0.202107161207 @.\plugins'�[0;39m
�[1;31mUnable to remove the duplicate ''com.novell.prov.vdd #4.0.0.201910221727 @.\plugins' duplicates 'com.novell.prov.vdd #4.0.0.202107161207 @.\plugins''.�[0;39m
java.io.FileNotFoundException: Destination directory 'C:\netiq\idm\apps\Designer48.\duplicates_2021-09-22T15:07:42\plugins' does not exist [createDestDir=true]
at org.apache.commons.io.FileUtils.moveDirectoryToDirectory(FileUtils.java:2788) ~[plugin-cleaner-0.4-jar-with-dependencies.jar:0.4]

As a workaround, running the program with --destination solves the problem. Using a Windows filename compatible timestamp format might be better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions