Unix and Linux Discussions Tagged with editing |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
8 |
15,598 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
1,931 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
1,411 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,294 |
Shell Programming and Scripting |
|
|
|
1 |
2,385 |
Ubuntu |
|
|
|
6 |
2,486 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
14,783 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,211 |
Shell Programming and Scripting |
|
|
|
0 |
1,636 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,306 |
UNIX and Linux Applications |
|
|
|
6 |
1,813 |
Shell Programming and Scripting |
|
|
|
1 |
2,456 |
Shell Programming and Scripting |
|
|
|
6 |
2,504 |
Shell Programming and Scripting |
|
|
|
0 |
1,522 |
UNIX and Linux RSS News |
|
|
|
0 |
3,349 |
Linux |
|
|
|
1 |
11,032 |
Linux |
|
|
|
2 |
1,811 |
AIX |
|
|
|
7 |
3,015 |
Shell Programming and Scripting |
|
|
|
3 |
2,515 |
Shell Programming and Scripting |
|
|
|
1 |
14,976 |
OS X (Apple) |
|
|
|
20 |
17,845 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,398 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,957 |
IP Networking |
|
|
|
1 |
5,299 |
UNIX for Advanced & Expert Users |
|
|
|
7 |
5,945 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
6,136 |
UNIX for Dummies Questions & Answers |
|
|
|
9 |
12,929 |
IP Networking |
|
|
|
2 |
15,176 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,044 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
9,148 |
UNIX for Advanced & Expert Users |
|
|
|
14 |
7,200 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,892 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,234 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,911 |
IP Networking |
|
|
|
3 |
5,300 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,243 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,136 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,361 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
36,713 |
UNIX for Dummies Questions & Answers |
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)