diff options
| author | Eli Zaretskii | 2006-07-29 11:12:06 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2006-07-29 11:12:06 +0000 |
| commit | 2439e18370ef97bfab0339274a322cd65c09c5f3 (patch) | |
| tree | 1073f4a7122011527104168b8ae0d759eaa1e225 | |
| parent | 0ef973bb131f5a622162a1b1053521f6ed0d6f60 (diff) | |
| download | emacs-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.texi | 41 |
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} |
| 551 | Copy the specified files (@code{dired-do-copy}). The argument @var{new} | 551 | Copy the specified files (@code{dired-do-copy}). The argument @var{new} |
| 552 | is the directory to copy into, or (if copying a single file) the new | 552 | is the directory to copy into, or (if copying a single file) the new |
| 553 | name. | 553 | name. 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 |
| 556 | If @code{dired-copy-preserve-time} is non-@code{nil}, then copying | 556 | If @code{dired-copy-preserve-time} is non-@code{nil}, then copying |
| 557 | with this command preserves the modification time of the old file in | 557 | with this command preserves the modification time of the old file in |
| 558 | the copy. | 558 | the 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 |
| 562 | The variable @code{dired-recursive-copies} controls whether to copy | 562 | The variable @code{dired-recursive-copies} controls whether to copy |
| 563 | directories recursively. The default is @code{nil}, which means that | 563 | directories recursively (a-la @kbd{cp -r}). The default is |
| 564 | directories 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)} |
| 569 | Delete the specified files (@code{dired-do-delete}). Like the other | 569 | Delete the specified files (@code{dired-do-delete}). This is similar |
| 570 | commands in this section, this command operates on the @emph{marked} | 570 | to what the Unix @code{rm} command does. Like the other commands in |
| 571 | files, or the next @var{n} files. By contrast, @kbd{x} | 571 | this section, this command operates on the @emph{marked} files, or the |
| 572 | next @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} |
| 578 | Rename the specified files (@code{dired-do-rename}). The argument | 580 | Rename 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 | 581 | single file, the argument @var{new} is the new name of the file. If |
| 580 | file) the new name. | 582 | you rename several files, the argument @var{new} is the directory into |
| 583 | which to move the files (this is similar to what the Unix @code{mv} | ||
| 584 | command does). | ||
| 581 | 585 | ||
| 582 | Dired automatically changes the visited file name of buffers associated | 586 | Dired automatically changes the visited file name of buffers associated |
| 583 | with renamed files so that they refer to the new names. | 587 | with 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} |
| 589 | Make hard links to the specified files (@code{dired-do-hardlink}). The | 593 | Make hard links to the specified files (@code{dired-do-hardlink}). |
| 590 | argument @var{new} is the directory to make the links in, or (if making | 594 | This is similar to what the Unix @code{ln} command does. The argument |
| 591 | just one link) the name to give the link. | 595 | @var{new} is the directory to make the links in, or (if making just |
| 596 | one 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} |
| 597 | Make symbolic links to the specified files (@code{dired-do-symlink}). | 602 | Make symbolic links to the specified files (@code{dired-do-symlink}) |
| 598 | The 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 |
| 599 | making just one link) the name to give the link. | 604 | @var{new} is the directory to make the links in, or (if making just |
| 605 | one 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} |
| 633 | Touch the specified files (@code{dired-do-touch}). This means | 639 | Touch the specified files (@code{dired-do-touch}). This means |
| 634 | updating their modification times to the present time. | 640 | updating their modification times to the present time. This is |
| 641 | similar 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)} |