--to-folder does not put messages in subfolders!
Closed this issue · 4 comments
Hi,
I was expecting that the subfolders of the "from" side would be put as subfolder of "to-folder" on the "to" side.
Is it intentional or a bug? I don't see why the hierarchy would not be kept…
Thanks
--from-folder
and --to-folder
only copy the specified folder by design. To recurse and copy subfolders as well, you'd need to use the --all
or --all-subscribed
option. You could then use --exclude
to specify folders/subfolders that you don't want to copy.
It's not the most user-friendly design, I agree, but it's the result of Larch being originally written for a very specific use case and eventually becoming more generalized over time.
I'm sorry, I have not been clear :)
I am using all, so for example, for the tree :
a
a/b
c
and using "all" and "to-folder s"
I would have liked to get:
s/a
s/a/b
s/c
So, it seems (to me) that this should be the normal behaviour, no ? Or maybe this mean we would need another options, such as prefix or something like that?
Thanks for your quick reply :)
Ah, I see what you mean. Yeah, Larch currently isn't capable of doing this, but it's been requested before and it's on the nice-to-have list.
ok, thanks :)