aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2006-07-29 11:12:06 +0000
committerEli Zaretskii2006-07-29 11:12:06 +0000
commit2439e18370ef97bfab0339274a322cd65c09c5f3 (patch)
tree1073f4a7122011527104168b8ae0d759eaa1e225
parent0ef973bb131f5a622162a1b1053521f6ed0d6f60 (diff)
downloademacs-2439e18370ef97bfab0339274a322cd65c09c5f3.tar.gz
emacs-2439e18370ef97bfab0339274a322cd65c09c5f3.zip
(Operating on Files): Add cross-references. State the Unix commands that do
similar things.
-rw-r--r--man/dired.texi41
1 files changed, 24 insertions, 17 deletions
diff --git a/man/dired.texi b/man/dired.texi
index 97597ffcd81..02950035515 100644
--- a/man/dired.texi
+++ b/man/dired.texi
@@ -550,34 +550,38 @@ next window, that other buffer's directory is suggested instead.
550@item C @var{new} @key{RET} 550@item C @var{new} @key{RET}
551Copy the specified files (@code{dired-do-copy}). The argument @var{new} 551Copy the specified files (@code{dired-do-copy}). The argument @var{new}
552is the directory to copy into, or (if copying a single file) the new 552is the directory to copy into, or (if copying a single file) the new
553name. 553name. This is similar to what the Unix @code{cp} command does.
554 554
555@vindex dired-copy-preserve-time 555@vindex dired-copy-preserve-time
556If @code{dired-copy-preserve-time} is non-@code{nil}, then copying 556If @code{dired-copy-preserve-time} is non-@code{nil}, then copying
557with this command preserves the modification time of the old file in 557with this command preserves the modification time of the old file in
558the copy. 558the copy, similarly to @kbd{cp -p}.
559 559
560@vindex dired-recursive-copies 560@vindex dired-recursive-copies
561@cindex recursive copying 561@cindex recursive copying
562The variable @code{dired-recursive-copies} controls whether to copy 562The variable @code{dired-recursive-copies} controls whether to copy
563directories recursively. The default is @code{nil}, which means that 563directories recursively (a-la @kbd{cp -r}). The default is
564directories cannot be copied. 564@code{nil}, which means that directories cannot be copied.
565 565
566@item D 566@item D
567@findex dired-do-delete 567@findex dired-do-delete
568@kindex D @r{(Dired)} 568@kindex D @r{(Dired)}
569Delete the specified files (@code{dired-do-delete}). Like the other 569Delete the specified files (@code{dired-do-delete}). This is similar
570commands in this section, this command operates on the @emph{marked} 570to what the Unix @code{rm} command does. Like the other commands in
571files, or the next @var{n} files. By contrast, @kbd{x} 571this section, this command operates on the @emph{marked} files, or the
572next @var{n} files. By contrast, @kbd{x}
572(@code{dired-do-flagged-delete}) deletes all @dfn{flagged} files. 573(@code{dired-do-flagged-delete}) deletes all @dfn{flagged} files.
573 574
574@findex dired-do-rename 575@findex dired-do-rename
575@kindex R @r{(Dired)} 576@kindex R @r{(Dired)}
576@cindex renaming files (in Dired) 577@cindex renaming files (in Dired)
578@cindex moving files (in Dired)
577@item R @var{new} @key{RET} 579@item R @var{new} @key{RET}
578Rename the specified files (@code{dired-do-rename}). The argument 580Rename the specified files (@code{dired-do-rename}). If you rename a
579@var{new} is the directory to rename into, or (if renaming a single 581single file, the argument @var{new} is the new name of the file. If
580file) the new name. 582you rename several files, the argument @var{new} is the directory into
583which to move the files (this is similar to what the Unix @code{mv}
584command does).
581 585
582Dired automatically changes the visited file name of buffers associated 586Dired automatically changes the visited file name of buffers associated
583with renamed files so that they refer to the new names. 587with renamed files so that they refer to the new names.
@@ -586,17 +590,19 @@ with renamed files so that they refer to the new names.
586@kindex H @r{(Dired)} 590@kindex H @r{(Dired)}
587@cindex hard links (in Dired) 591@cindex hard links (in Dired)
588@item H @var{new} @key{RET} 592@item H @var{new} @key{RET}
589Make hard links to the specified files (@code{dired-do-hardlink}). The 593Make hard links to the specified files (@code{dired-do-hardlink}).
590argument @var{new} is the directory to make the links in, or (if making 594This is similar to what the Unix @code{ln} command does. The argument
591just one link) the name to give the link. 595@var{new} is the directory to make the links in, or (if making just
596one link) the name to give the link.
592 597
593@findex dired-do-symlink 598@findex dired-do-symlink
594@kindex S @r{(Dired)} 599@kindex S @r{(Dired)}
595@cindex symbolic links (creation in Dired) 600@cindex symbolic links (creation in Dired)
596@item S @var{new} @key{RET} 601@item S @var{new} @key{RET}
597Make symbolic links to the specified files (@code{dired-do-symlink}). 602Make symbolic links to the specified files (@code{dired-do-symlink})
598The argument @var{new} is the directory to make the links in, or (if 603(this is similar to what @kbd{ln -s} does on Unix). The argument
599making just one link) the name to give the link. 604@var{new} is the directory to make the links in, or (if making just
605one link) the name to give the link.
600 606
601@findex dired-do-chmod 607@findex dired-do-chmod
602@kindex M @r{(Dired)} 608@kindex M @r{(Dired)}
@@ -631,7 +637,8 @@ different places).
631@cindex changing file time (in Dired) 637@cindex changing file time (in Dired)
632@item T @var{timestamp} @key{RET} 638@item T @var{timestamp} @key{RET}
633Touch the specified files (@code{dired-do-touch}). This means 639Touch the specified files (@code{dired-do-touch}). This means
634updating their modification times to the present time. 640updating their modification times to the present time. This is
641similar to what the Unix @code{touch} command does.
635 642
636@findex dired-do-print 643@findex dired-do-print
637@kindex P @r{(Dired)} 644@kindex P @r{(Dired)}