Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

Only copy newer files #66

Open
endquote opened this issue Nov 12, 2013 · 2 comments
Open

Only copy newer files #66

endquote opened this issue Nov 12, 2013 · 2 comments

Comments

@endquote
Copy link

It would be nice to have an option in methods like copyDirSyncRecursive to only copy files if their modification time is newer than the one in the destination folder.

@ryanmcgrath
Copy link
Owner

Heya - I know this is 2 months old, but I agree it'd be cool to have. If you wanna pull request it (don't at all blame you if uninterested by this point) with a test I'd be happy to include it.

Thanks, sorry for the hella late reply!

@endquote
Copy link
Author

I'm on Windows so I ended up just calling out to robocopy instead. Would be cool to do everything in node though.

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

No branches or pull requests

2 participants