|
|
@ -43,10 +43,6 @@ mfm::dup(const Opts::Dup &opts_) |
|
|
fs::directory_iterator(de.path().parent_path())) |
|
|
fs::directory_iterator(de.path().parent_path())) |
|
|
{ |
|
|
{ |
|
|
auto relpath = fs::relative(de.path(),srcpath); |
|
|
auto relpath = fs::relative(de.path(),srcpath); |
|
|
fmt::println("{} {}", |
|
|
|
|
|
relpath.string(), |
|
|
|
|
|
de.path().filename().string()); |
|
|
|
|
|
|
|
|
|
|
|
for(const auto &dstpath : srcpaths) |
|
|
for(const auto &dstpath : srcpaths) |
|
|
{ |
|
|
{ |
|
|
if(dstpath == srcpath) |
|
|
if(dstpath == srcpath) |
|
|
|