diff --git a/src/mfm_dup.cpp b/src/mfm_dup.cpp index 81416e3b..06ec5a68 100644 --- a/src/mfm_dup.cpp +++ b/src/mfm_dup.cpp @@ -59,6 +59,9 @@ mfm::dup(const Opts::Dup &opts_) relpath.parent_path().string(), relpath.filename().string()); + auto srcfullpath = srcpath / relpath.relative_path(); + auto dstfullpath = srcpath / relpath.relative_path(); + fs::clonepath(srcpath, dstpath, relpath.parent_path());