Ver código fonte

Minor plugin fixes

master
Arun Prakash Jana 5 anos atrás
pai
commit
0acd18f989
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: A75979F35C080412
2 arquivos alterados com 2 adições e 2 exclusões
  1. +1
    -1
      plugins/README.md
  2. +1
    -1
      plugins/renamer

+ 1
- 1
plugins/README.md Ver arquivo

@@ -14,7 +14,6 @@ Plugins extend the capabilities of `nnn`. They are _executable_ scripts (or bina

| 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,<br>sort uniq xargs |
| chksum | Create and verify checksums | sh | md5sum,<br>sha256sum |
@@ -46,6 +45,7 @@ Plugins extend the capabilities of `nnn`. They are _executable_ scripts (or bina
| pdfview | View PDF file in `$PAGER` | sh | pdftotext/<br>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 |


+ 1
- 1
plugins/renamer Ver arquivo

@@ -31,7 +31,7 @@ if [ -s "$selection" ]; then
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


Carregando…
Cancelar
Salvar