Closed Bug 919782 Opened 12 years ago Closed 3 years ago

nsIFile::moveTo should support merging directories

Categories

(Core :: XPCOM, enhancement)

x86_64
Linux
enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: marco, Unassigned)

Details

Merging two directories with moveTo doesn't work. I'm trying to merge a temp directory into another directory and: A) If the dest directory doesn't exist, moveTo works as expected B) If the dest directory exists, moveTo moves the src directory in a subfolder of the dest directory (stripping the "." character at the beginning of the src directory name).
For example, given the following existing directories: /home/marco/.barfight /tmp/.barfight If I try to merge them, I get: /home/marco/.barfight/barfight

I don't need this anymore.

Severity: normal → --
Status: NEW → RESOLVED
Type: defect → enhancement
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.