1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-28 09:35:26 +02:00
tldr/pages/common/vidir.md
Managor d2e6da7679
common*: refresh old pages part 7 (#16290)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-05-01 14:38:45 +03:00

546 B

vidir

Edit directories in a text editor. More information: https://manned.org/vidir.

  • Edit the contents of the specified directories:

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

  • Display each action taken by the program:

vidir {{[-v|--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 -