mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-29 03:16:56 -05:00
mfm_dup.cpp
This commit is contained in:
parent
ab9678ba5d
commit
accf56044f
1 changed files with 6 additions and 0 deletions
|
|
@ -49,6 +49,12 @@ mfm::dup(const Opts::Dup &opts_)
|
|||
if(dstpath == srcpath)
|
||||
continue;
|
||||
|
||||
fs::path src_base_path;
|
||||
fs::path dst_base_path;
|
||||
|
||||
src_base_path = srcpath / relpath.parent_path();
|
||||
dst_base_path = dstpath / relpath.parent_path();
|
||||
|
||||
fmt::println("copy {} to {} : {}",
|
||||
srcpath.string(),
|
||||
dstpath.string(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue