Git Product home page Git Product logo

Comments (4)

rgrove avatar rgrove commented on July 20, 2024

--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.

from larch.

victornoel avatar victornoel commented on July 20, 2024

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 :)

from larch.

rgrove avatar rgrove commented on July 20, 2024

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.

from larch.

victornoel avatar victornoel commented on July 20, 2024

ok, thanks :)

from larch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.