aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/README.md2
-rwxr-xr-xplugins/batchrename9
2 files changed, 10 insertions, 1 deletions
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,<br>sort uniq xargs |
| chksum | Create and verify checksums | sh | md5sum,<br>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