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

NAME

6       vidir - edit directories and filenames
7

SYNOPSIS

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

DESCRIPTION

12       vidir allows editing of directories and filenames in a text editor.  If
13       no directory is specified, the filenames of the current directory are
14       edited.
15
16       When editing a directory, each item in the directory will appear on its
17       own numbered line. These numbers are how vidir keeps track of what
18       items are changed. Delete lines to remove files from the directory, or
19       edit filenames to rename files. You can also switch pairs of numbers to
20       swap filenames.
21
22       Filenames to be edited may be given any combination of directorys
23       (which will be expanded to the non-recursive list of all files within
24       directory), files, or -.  If the latter is specified, vidir reads a
25       list of filenames from stdin and displays those for editing.
26

OPTIONS

28       -v, --verbose
29           Verbosely display the actions taken by the program.
30

EXAMPLES

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

ENVIRONMENT VARIABLES

44       EDITOR
45           Editor to use.
46
47       VISUAL
48           Also supported to determine what editor to use.
49

AUTHOR

51       Copyright 2006 by Joey Hess <id@joeyh.name>
52
53       Licensed under the GNU GPL.
54
55
56
57moreutils                         2023-01-19                          VIDIR(1)
Impressum