plugins/README.md | 2 +- plugins/renamer | 2 +- diff --git a/plugins/README.md b/plugins/README.md index 17f575064010927883fe2c400770872832d7a4ca..86d541c85c03b02bc84e9615ae51755ff73ede4c 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -14,7 +14,6 @@ ## List of plugins | Plugin (a-z) | Description | Lang | Deps | | --- | --- | --- | --- | -| renamer | Batch rename files with qmv or vidir | sh | [renameutils](https://www.nongnu.org/renameutils/) or [moreutils](https://joeyh.name/code/moreutils/) | | 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 | @@ -46,6 +45,7 @@ | pdfread | Read a PDF or text file aloud | sh | pdftotext, mpv,
pico2wave | | pdfview | View PDF file in `$PAGER` | sh | pdftotext/
mupdf-tools | | picker | Pick files and list one per line (to pipe) | sh | nnn | | pskill | Fuzzy list by name and kill process or zombie | sh | fzy, sudo/doas | +| renamer | Batch rename files | sh | [qmv](https://www.nongnu.org/renameutils/)/[vidir](https://joeyh.name/code/moreutils/) | | ringtone | Create a variable bitrate mp3 ringtone from file | sh | date, ffmpeg | | splitjoin | Split file or join selection | sh | split, cat | | suedit | Edit file using superuser permissions | sh | sudoedit/sudo/doas | diff --git a/plugins/renamer b/plugins/renamer index 5dc8271528b2ceec15f55c62d6132accbf882f35..8ea2d928c9c7aadd9e28a6da848cb5330fe963ba 100755 --- a/plugins/renamer +++ b/plugins/renamer @@ -31,7 +31,7 @@ read -r resp fi if [ "$resp" = "y" ]; then - # -o flag is necessary for interative editors + # -o flag is necessary for interactive editors xargs -o -0 $batchrenamesel < "$selection" elif [ ! "$(LC_ALL=C ls -a)" = ". .." ]; then