b12-archive / mve

Move a file or folder. Platform-independent.
http://npm.im/mve
MIT License
2 stars 0 forks source link

Move files by wildcard? #10

Open jennasalau opened 8 years ago

jennasalau commented 8 years ago

How do you move files that end with extension?

I want to move all files that have an extension into another folder while maintaining their original filenames.

Example

mve *.gem build/

Would expect this structure

To result in

-build/myGem.gem

tomek-he-him commented 7 years ago

Hey @jennasalau, I don’t manage this repo anymore (cc @bck2207). But at first glance, it looks like this should be handled at shell level. So this is an exact equivalent of mve myGem.gem build/.

One this lib probably doesn’t support is wildcard expansion at lib level. So chances are your example won’t work in non-unix systems.