refile.1mh

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1MH 代码 · 共 187 行

1MH
187
字号
.TH refile 1mh.SH Namerefile \- file message in other folders.SH Syntax.B refile [.I msgs] [.I +folder] [ .I options].\".\".\".\".\".SH Description.NXR "refile command".NXR "messages" "filing in other folders"Use the .PN refilecommand to move the specified message from the current folder to another folder.You can refile messages in more than one folderby giving multiple folder names as arguments..PPIf you do not specify a message, the current message is refiled.  You can refile a message other than the current messageby giving its number as a .I msgs argument.You can also refile more than one message at a time by specifying more than one message number,or a range of message numbers,or a message sequence.See .MS mark 1mhfor more information on sequences..PPThe current folder remains the same unless the.B \-srcoption is specified; in that case, the source folder becomes current.Normally, the last message specified becomes the current message.However, if the.B \-linkoption is used, the current message is not changed..PPIf the \f(CWPrevious-Sequence:\fR entry is set in the.PN \&.mh_profilefile, in addition to defining the named sequences from the source folder,.PN refilewill also define those sequences for the destination folders.See .MS mh_profile 5mhfor information concerning the previous sequence..\".\".\".\".SH Options.IP "\-draft" 10Refiles the draft message, or the current message in your .PN +draftsfolder, if you have one set up.You cannot give a .I msgsargument when you use this option..\".IP "\-file \fIfilename\fB" 10Moves a file into a folder.This option takes a file from its directory and places it in the named folder,as the next message in the folder.The file must be formatted as a legal mail message.This means that the message must havethe minimum header fields separatedfrom the body of the messageby a blank line or a line of dashes..\".IP \-help 10Prints a list of the valid options to this command..\".IP \-link 10.PD 0.IP \-nolink 10.PDKeeps a copy of the message in the source folder.Normally, .PN refile removes the messages from the original folder when it refiles them.The.B \-linkoption keeps a copy in the original folder, as well as filing a copy in the new folder..\".IP \-preserve 10.PD 0.IP \-nopreserve 10.PD Preserves the number of a message in the new folder.Normally, when a message is refiled in to another folder,it is set to the next available number in that folder.The.B \-preserveoption keeps the number of the message the same in the new folder as it had been in the old..IPYou cannot have two messages with the same number in one folder, so you should use this option with care..\".IP "\-src \fI+folder\fB" 10Specifies the source folder to take messages from.Normally, messages are refiled from the current folderinto another folder.However, you can take messages from a different folderby using the .B \-src.I +folderoption to specify the alternative source folder..\".\".\".\".SH ExamplesThe following example refiles messages 3 and 5 in the folder.PN +records :.EX% \f(CBrefile 3 5 +records\f(CW.EE.PPThe next example files the current message into two folders:.EX% \f(CBrefile +jones +map\f(CW.EE.PPThe next example takes message 13 in the current folder and refiles it in the .PN +testfolder.  The message remains in the current folder as well as appearing in the .PN +testfolder..EX% \f(CBrefile \-link 13 +test\f(CW.EE.PPThe next example takes a message from the folder .PN +testwhen it is not the current folder,and places it in the folder.PN +outbox :.EX% \f(CBrefile 3 \-src +test +outbox\f(CW.EE.\".\".\".\".\".\".SH Profile Components.TS tab(+);l l.Path:+To determine your Mail directoryFolder-Protect:+To set protections when creating a new folderrmmproc:+Program to delete the message.TE.\".\".\".\".SH Files.TP 10.PN $HOME/.mh_profileThe user profile..\".\".\".\".SH See Alsofolder(1mh), mark(1mh), mh_profile(5mh)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?