From f527dd1c6a6f2065ce9cdfb4337399021265631f Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 11 Mar 2020 17:52:38 +0530 Subject: Integrate batch renamer plugin --- plugins/README.md | 2 +- plugins/batchrename | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/README.md b/plugins/README.md index 0728fbf..dc6ec64 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -27,7 +27,7 @@ Plugins are installed to `${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins`. | Plugin (a-z) | Description | Lang | Deps | | --- | --- | --- | --- | | autojump | Navigate to dir/path (**autojump stores navigation patterns**) | sh | autojump | -| batchrename | Batch file renamer | sh | mktemp | +| batchrename | Batch rename selection or dir entries | sh | mktemp | | boom | Play random music from dir | sh | [moc](http://moc.daper.net/) | | dups | List non-empty duplicate files in current dir | sh | find, md5sum,
sort uniq xargs | | chksum | Create and verify checksums | sh | md5sum,
sha256sum | diff --git a/plugins/batchrename b/plugins/batchrename index b22b9ae..b9b9a84 100755 --- a/plugins/batchrename +++ b/plugins/batchrename @@ -2,6 +2,15 @@ # Description: An almost fully POSIX compliant batch file renamer # +# Note: nnn auto-detects and invokes this plugin if available +# +# Capabilities: +# 1. Basic file rename +# 2. Detects order change +# 3. Can move files +# 4. Can remove files +# 5. Switch number pairs to swap filenames +# # Shell: POSIX compliant # Author: KlzXS -- cgit v1.2.3-70-g09d2