|
|
@ -43,6 +43,9 @@ mfm::dup(const Opts::Dup &opts_) |
|
|
for(const auto &de : |
|
|
for(const auto &de : |
|
|
stdfs::directory_iterator(de.path().parent_path())) |
|
|
stdfs::directory_iterator(de.path().parent_path())) |
|
|
{ |
|
|
{ |
|
|
|
|
|
if(!de.is_regular_file()) |
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
|
auto relpath = "/" / stdfs::relative(de.path(),srcpath); |
|
|
auto relpath = "/" / stdfs::relative(de.path(),srcpath); |
|
|
|
|
|
|
|
|
for(const auto &dstpath : srcpaths) |
|
|
for(const auto &dstpath : srcpaths) |
|
|
|