vidir(1) debian man page | unix.com

Man Page: vidir

Operating Environment: debian

Section: 1

VIDIR(1)																  VIDIR(1)

NAME
vidir - edit directory
SYNOPSIS
vidir [--verbose] [directory|file|-] ...
DESCRIPTION
vidir allows editing of the contents of a directory in a text editor. If no directory is specified, the current directory is edited. When editing a directory, each item in the directory will appear on its own numbered line. These numbers are how vidir keeps track of what items are changed. Delete lines to remove files from the directory, or edit filenames to rename files. You can also switch pairs of numbers to swap filenames. Note that if "-" is specified as the directory to edit, it reads a list of filenames from stdin and displays those for editing. Alternatively, a list of files can be specified on the command line.
OPTIONS
-v, --verbose Verbosely display the actions taken by the program.
EXAMPLES
vidir vidir *.jpeg Typical uses. find | vidir - Edit subdirectory contents too. To delete subdirectories, delete all their contents and the subdirectory itself in the editor. find -type f | vidir - Edit all files under the current directory and subdirectories.
ENVIRONMENT VARIABLES
EDITOR Editor to use. VISUAL Also supported to determine what editor to use.
AUTHOR
Copyright 2006 by Joey Hess <joey@kitenet.net> Licensed under the GNU GPL. moreutils 2010-04-28 VIDIR(1)
Related Man Pages
edit(1) - bsd
blaze-edit(1) - debian
vigr(8) - debian
edit(1) - ultrix
ex(1) - ultrix
Similar Topics in the Unix Linux Community
Count the number of files in a directory
editing files
remove files from a directory
Delete files beginning with *
Problems removing files with semicolons in the filename