900 B
900 B
Quickstart – Insert Command
-
Preview an insertion at the start of filenames.
renamer insert ^ "[2025] " --dry-run- Shows the prepended tag without applying changes.
- Useful for tagging archival folders.
-
Insert text near the end while preserving extensions.
renamer insert -1 "_FINAL" --path ./reports --dry-run-1places the string before the last character of the stem.- Combine with
--extensionsto limit to specific file types.
-
Commit changes once preview looks correct.
renamer insert 3 "_QA" --yes --path ./builds--yesauto-confirms using the last preview.- Ledger entry records the position token and inserted text.
-
Undo the most recent insert batch if needed.
renamer undo --path ./builds- Restores original names using ledger metadata.