Bulk renamer shell script - Programming On Unix

Users browsing this thread: 1 Guest(s)
jkl
Long time nixers
(19-04-2020, 12:06 PM)phillbush Wrote: I have just written an interactive POSIX shell script for bulk renaming files.

It is always good to have more alternatives to GNU rename. (Here's mine, not a shell script though.)

(19-04-2020, 12:06 PM)phillbush Wrote: If both are unset, use vi(1) by default.

Whichever default you choose, it is safe to assume that your first actual user will have a system which does not support that.

-----------------

Looks like your script does not support directories though:

Code:
+ mv TECOC TECOC
mv: cannot move 'TECOC' to a subdirectory of itself, 'TECOC/TECOC'


Messages In This Thread
Bulk renamer shell script - by phillbush - 19-04-2020, 12:06 PM
RE: Bulk renamer shell script - by jkl - 20-04-2020, 08:04 AM
RE: Bulk renamer shell script - by phillbush - 20-04-2020, 09:26 AM
RE: Bulk renamer shell script - by z3bra - 20-04-2020, 10:21 AM
RE: Bulk renamer shell script - by phillbush - 20-04-2020, 10:28 AM
RE: Bulk renamer shell script - by z3bra - 20-04-2020, 03:45 PM
RE: Bulk renamer shell script - by jkl - 20-04-2020, 03:46 PM
RE: Bulk renamer shell script - by phillbush - 20-04-2020, 04:11 PM
RE: Bulk renamer shell script - by ckester - 20-04-2020, 05:49 PM