1VIDIR(1)                                                              VIDIR(1)
2
3
4

NAME

6       vidir - edit directory
7

SYNOPSIS

9       vidir [--verbose] [directory|file|-] ...
10

DESCRIPTION

12       vidir allows editing of the contents of a directory in a text editor.
13       If no directory is specified, the current directory is edited.
14
15       When editing a directory, each item in the directory will appear on its
16       own numbered line. These numbers are how vidir keeps track of what
17       items are changed. Delete lines to remove files from the directory, or
18       edit filenames to rename files. You can also switch pairs of numbers to
19       swap filenames.
20
21       Note that if "-" is specified as the directory to edit, it reads a list
22       of filenames from stdin and displays those for editing. Alternatively,
23       a list of files can be specified on the command line.
24

OPTIONS

26       -v, --verbose
27           Verbosely display the actions taken by the program.
28

EXAMPLES

30       vidir
31       vidir *.jpeg
32           Typical uses.
33
34       find | vidir -
35           Edit subdirectory contents too. To delete subdirectories, delete
36           all their contents and the subdirectory itself in the editor.
37
38       find -type f | vidir -
39           Edit all files under the current directory and subdirectories.
40

ENVIRONMENT VARIABLES

42       EDITOR
43           Editor to use.
44
45       VISUAL
46           Also supported to determine what editor to use.
47

AUTHOR

49       Copyright 2006 by Joey Hess <id@joeyh.name>
50
51       Licensed under the GNU GPL.
52
53
54
55moreutils                         2015-07-13                          VIDIR(1)
Impressum