tldr/pages/common/vidir.md

25 lines
547 B
Markdown
Raw Normal View History

# 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 -`