https://github.com/depuits/regexmove
Moving files matching the given regex into separate folders using one of the matched regex groups.
https://github.com/depuits/regexmove
Last synced: about 2 months ago
JSON representation
Moving files matching the given regex into separate folders using one of the matched regex groups.
- Host: GitHub
- URL: https://github.com/depuits/regexmove
- Owner: depuits
- License: apache-2.0
- Created: 2016-12-30T12:23:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-29T08:48:46.000Z (over 8 years ago)
- Last Synced: 2025-03-02T13:28:27.120Z (over 1 year ago)
- Language: C#
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RegExMove
Moving files matching the given regex into separate folders using one of the matched regex groups. The default regex option lets you sort a music folder into sub directories per artist if the files are named 'artist - song.mp3'.
## Usage
RegExMove [OPTIONS] + regex
If no regex is specified, `^(.+?) - (.+)\.(mp3|wav)$` is used.
```
Options:
-s, --selector=VALUE the regex group index to use for the folder name.
index 0 is the complete match.
(default=1).
this must be an integer.
-v, --verbose increase debug message verbosity
-h, --help show this message and exit
```