-
-
Notifications
You must be signed in to change notification settings - Fork 124
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
Recurcively creates directories copying single file #18
Comments
try passing an options object with (I usually try to commit first before doing new copy operations, might be a good idea here) var src = "public/assets/tmp/font-awesome-4.7.0/css/font-awesome.min.css",
copy.one(src, "public/assets/css", {flatten: true}, function(err) {
if (err) return console.log(err);
}); |
Thanks! This is what I was looking for, maybe a suggestion to mention the possible settings of |
This is what I was looking for here, too. Updating to include what to pass as options would help. I was about to dig into the source to find if this was possible |
I'll make a note on the readme! thanks for the tip. I'll keep this open as a reminder... |
Helped me too. |
This ends up creating the folders
public/assets/tmp/font-awesome-4.7.0/css
inside of:
public/assets/css
I just want to put the file into this directory without all the other dirs.
The text was updated successfully, but these errors were encountered: