Files
cheatsheet-tldr/tldr/vidir

30 lines
640 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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 -`