FileUtils.copyDirectory preserves destination subdirectories, rather than
overwriting with the source subdirectories
--------------------------------------------------------------------------------------------------------------------
Key: IO-190
URL: https://issues.apache.org/jira/browse/IO-190
Project: Commons IO
Issue Type: Bug
Components: Utilities
Affects Versions: 1.4
Environment: Windows XP
Reporter: JPW
Priority: Trivial
When using FileUtils.copyDirectory to copy directories with subdirectories, the
source will overwrite all files that exist in the destination directory, but
not the subdirectories themselves. The files inside the subdirectories will be
overwritten. The only difference that I've noticed thus far is that this
preserves the old file dates of the subdirectories rather than using the dates
from the source or the current date, if preserveFileDate is set to 'false.'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.