Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

actions#file methods should support globbing #175

Closed
sindresorhus opened this issue Feb 18, 2013 · 10 comments
Closed

actions#file methods should support globbing #175

sindresorhus opened this issue Feb 18, 2013 · 10 comments
Assignees

Comments

@sindresorhus
Copy link
Member

I want to copy a folder with files and subfolder, but I need to exlude one of the subfolders. From what I can see there aren't currently any way to do that.


@mklabs

@addyosmani
Copy link
Member

Simple globbing wouldn't be that difficult to implement, but it depends on what you're after - are you looking for a way to specify regex patterns to ignore or just explicit strings representing subfolder paths?

@passy
Copy link
Member

passy commented May 1, 2013

+1 on the feature. Let's make sure we don't choose a lib with a too large dependency tree.

@addyosmani
Copy link
Member

Let's do it.

@robwierzbowski
Copy link

+1 node-globule. Of the two, it looks better suited to generator tasks.

@chyingp
Copy link

chyingp commented Nov 30, 2013

Also troubled by this problem. There is no way to copy a folder and it's content to the destination currently.
@sindresorhus The issues is still open, hasn't it been supported by now?

@jgoux
Copy link

jgoux commented Jul 23, 2014

Is this issue still open ? I need to exclude some files / folder too.

@SBoudrias
Copy link
Member

@jgoux Yes it is still open, although we now have new file utilities: http://yeoman.io/authoring/file-system.html

Make sure to checkout file utils own documentation.

@sindresorhus
Copy link
Member Author

@SBoudrias
Copy link
Member

This will be automatically fix with #658 - I'll assign to myself and remove as actionnable.

@SBoudrias
Copy link
Member

This is working on master now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants