You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when using dir.clonetree('/z/y/x', '/a/b/x', file.copy) the resulting cloned folder is /a/b/x/z/y/x,
and when using dir.clonetree('/z/y/x', '/a/b', file.copy) the resulting cloned folder is /a/b/z/y/x.
Is it intended behavior ?
I would have expected dir.clonetree to act the same as cp -r, i.e. /z/y/x/foo being cloned in /a/b/x/foo in both cases.
Thanks.
The text was updated successfully, but these errors were encountered:
JonathanTaquet
changed the title
unexpeced behavior for dir.clonetree
unexpected behavior for dir.clonetree
Jan 31, 2024
Hi,
when using
dir.clonetree('/z/y/x', '/a/b/x', file.copy)
the resulting cloned folder is/a/b/x/z/y/x
,and when using
dir.clonetree('/z/y/x', '/a/b', file.copy)
the resulting cloned folder is/a/b/z/y/x
.Is it intended behavior ?
I would have expected
dir.clonetree
to act the same ascp -r
, i.e./z/y/x/foo
being cloned in/a/b/x/foo
in both cases.Thanks.
The text was updated successfully, but these errors were encountered: