mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Copy directory date/time
This commit is contained in:
parent
f83a281ab7
commit
bf6fb4051f
1 changed files with 2 additions and 1 deletions
|
|
@ -874,9 +874,10 @@ begin
|
|||
// Create target directory.
|
||||
if mbForceDirectory(AbsoluteTargetFileName) then
|
||||
begin
|
||||
FileCopyAttr(aNode.TheFile.FullPath, AbsoluteTargetFileName, False);
|
||||
// Copy/Move all files inside.
|
||||
Result := ProcessNode(aNode, IncludeTrailingPathDelimiter(AbsoluteTargetFileName));
|
||||
// Copy attributes after copy/move directory contents, because this operation can change date/time
|
||||
FileCopyAttr(aNode.TheFile.FullPath, AbsoluteTargetFileName, False);
|
||||
end
|
||||
else
|
||||
begin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue