uperl / App-RegexFileUtils

use regexes with file utils like rm, cp, mv, ln
http://search.cpan.org/dist/App-RegexFileUtils/
0 stars 0 forks source link

ls? #2

Open matthewpersico opened 8 years ago

matthewpersico commented 8 years ago

Seems to me I'd want to do an 'ls' first to make sure my regexp is correct. Or have a --confirm option that lists all the affected files before executing the command. Which one (or both?) would you accept a pull request for?

plicease commented 8 years ago

I look forward to a PR.

I think having a --confirm makes more sense because rerm and retouch work a little differently from the others. I think call it --reconfirm to match the other arguments. I used the --re prefix to avoid conflicting with existing flags.

As I think about it, I don't see any harm in having a rels either.