mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
mfm_dup.cpp
This commit is contained in:
parent
261453bd87
commit
4e58caac83
1 changed files with 3 additions and 0 deletions
|
|
@ -43,6 +43,9 @@ mfm::dup(const Opts::Dup &opts_)
|
|||
for(const auto &de :
|
||||
stdfs::directory_iterator(de.path().parent_path()))
|
||||
{
|
||||
if(!de.is_regular_file())
|
||||
continue;
|
||||
|
||||
auto relpath = "/" / stdfs::relative(de.path(),srcpath);
|
||||
|
||||
for(const auto &dstpath : srcpaths)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue