1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:42:09 +02:00
tldr/pages/common/vidir.md
Juri Dispan 5561eb8f56
lckdo, mispipe, pee, vidir, vipe, zrun: add pages; flock: edit page (#12113)
* lckdo, mispipe, pee, vidir, vipe, zrun: add pages

* Apply suggestions from code review

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>

* fix errors

* flock: move page

---------

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
2024-01-24 09:20:02 +01:00

547 B

vidir

Edit directories in a text editor. More information: https://joeyh.name/code/moreutils/.

  • Edit the contents of the specified directories:

vidir {{path/to/directory1 path/to/directory2 ...}}

  • Display each action taken by the program:

vidir --verbose {{path/to/directory1 path/to/directory2 ...}}

  • Edit the contents of current directory:

vidir

  • Use the specified text editor:

EDITOR={{vim}} vidir {{path/to/directory1 path/to/directory2 ...}}

  • Read a list of files to edit from stdin:

{{command}} | vidir -