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

Add wildcard/regex functionality to migrate actions (others?) #39

Open
briandominick opened this issue Apr 14, 2018 · 0 comments
Open

Comments

@briandominick
Copy link
Collaborator

Right now, if you want to use migrate to copy several, but not all, files in a directory, you have to list them explicitly in distinct steps. This is sub-optimal for some fairly obvious reasons. I haven't run into the need for anything dramatic or dynamic (like using regex to monitor a directory for new patterns in filenames, so you can automatically include or exclude files that haven't even appeared yet), but I can imagine some use cases.

I don't know how this is best handled, if maybe we just allow the cp command for the underlying OS to handle this by its native rules, or if we declare a version of RegEx and a few limited actions such as whether to follow symlinks, delete existing files, and so forth. I can really imagine wanting all of these powers not just during a migrate action but maybe during a parse action, too.

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

1 participant