[examples/rename] Yet more comment improvements.

This commit is contained in:
Lorenzo Cogotti 2022-12-15 09:47:40 +01:00
parent c70b7d8ca2
commit c55267d256

View File

@ -2,9 +2,12 @@
-- Basic mass file renamer using osx and
-- standard Lua gsub().
--
-- Renames every file inside a directory.
-- A trimmed down but functional and useful
-- variant of util-linux rename(1)
-- Renames every file inside a directory (defaults to current directory).
-- Trimmed down but functional and useful variant of util-linux rename(1).
--
-- Example uses:
-- lua rename.lua 'something' 'something_else'
-- lua rename.lua '(%w+).lua' '%1.lua.bk' src
--
-- Author Lorenzo Cogotti, The DoubleFourteen Code Forge