lkakuno.blogg.se

Ubuntu movie file renaming tool
Ubuntu movie file renaming tool







ubuntu movie file renaming tool ubuntu movie file renaming tool

There is another rename which uses patterns, and is not as powerful. Note that this rename is the prename (aka Perl rename) command, which supports complete Perl regular expressions. With regular expressions, you can do lots more. If you want case-insensitive, add /i (that would be, /gi or /ig at the end). If you didn't have /g, it would have only done substitution once, and thus now named REPLACE_SEARCH.jpg. The /g means global, so if you had a SEARCH_SEARCH.jpg, it would be renamed REPLACE_REPLACE.jpg. This will replace the string SEARCH with REPLACE in every file (that is, *). It is pretty simple, but hopefully you know basic regex: rename "s/SEARCH/REPLACE/g" *









Ubuntu movie file renaming tool