summaryrefslogtreecommitdiff
path: root/vidir
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-02-02 17:24:39 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-02-02 17:24:39 -0500
commita3627335c84246278d940b250c7d4c61df7595c3 (patch)
tree78d924218e5106346590cead00e2a063b3b1dc0b /vidir
parentbc053c5868a14bd166160ffd2b143dd47622aba5 (diff)
downloadmoreutils-a3627335c84246278d940b250c7d4c61df7595c3.tar.gz
* Add example to man page about recursive modification of directories.
Closes: #390099
Diffstat (limited to 'vidir')
-rwxr-xr-xvidir24
1 files changed, 19 insertions, 5 deletions
diff --git a/vidir b/vidir
index bf674f4..7d382b2 100755
--- a/vidir
+++ b/vidir
@@ -33,6 +33,25 @@ Verbosely display the actions taken by the program.
=back
+=head1 EXAMPLES
+
+=over 4
+
+=item vidir
+
+=item vidir *.jpeg
+
+Typical uses.
+
+=item find | vidir -
+
+Edit subdirectory contents too. To delete subdirectories,
+delete all their contents and the subdirectory itself in the editor.
+
+=item find -type f | vidir -
+
+Edit all files under the current directory and subdirectories.
+
=head1 ENVIRONMENT VARIABLES
=over 4
@@ -47,11 +66,6 @@ Also supported to determine what editor to use.
=back
-=head1 BUGS
-
-Does not support deletion of directories. Does not support recursive
-editing of contents of a directory.
-
=head1 AUTHOR
Copyright 2006 by Joey Hess <joey@kitenet.net>