Closed
Description
This is a smaller task extracted from #36:
- It requires
rename
command, which can be acquired withbrew install rename
but if possible, it'd be better not to require it. It can be replaced with a < 50 line Go program inside the repo, that way no external dependencies are needed.
@dominikh also wrote about the downsides of relying on this command in #41 (comment):
rename
isn't a standard POSIX tool, and different Linux distributions ship different tools (with entirely different interfaces) under that name. For example, on my system, rename looks like this:rename [options] expression replacement file...
, and the patterns look like shell globs, not like regular expressions. On my system, your version of rename would beperl-rename
.This should probably be written with
find -exec
instead.
This issue is to track that.
Metadata
Metadata
Assignees
Labels
No labels