Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

Getting Started with News and the NN News Reader
Section - ... ... 7.4.3 Linking Your Mail and News Directories

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Zip codes ]


Top Document: Getting Started with News and the NN News Reader
Previous Document: ... ... 7.4.2 Moving and Deleting Messages in a Folder
Next Document: 8.0 Posting
See reader questions & answers on this topic! - Help others by sharing your knowledge
If you use lots of mailers and newsreaders, rather than set each of
them up to use ~/Folders as the default folder directory, it's much
easier to link (with the Unix `ln' command) your Folders directory to
directories named News, Mail, and mail, which are the most commonly
used folder directory names.  This way almost all your mailers or
newsreaders will use the same directory for saves.  A link is
basically just a way to create an alias for a directory or file.

Before you can set up the directory links you need to put all your
folders into one directory.  Here are instructions for merging the
folders in directories named `mail' and `News' into a new directory
named `Folders'.  If your mail folders are in a different directory,
e.g., `Mail', replace `mail' with `Mail' below.

Type                              In order to...
====                              ==============
cd                                go to your home directory
mkdir Folders                     create Folders directory
cp mail/* Folders                 copy folders in mail dir to Folders dir
cp -i News/* Folders              copy folders in News dir to Folders dir;
                                  answer no about overwriting, note dupe names
cp News/DupeName Folders/NewName  copy and rename dupe names
ls -l Folders                     list folders in Folders dir
ls -l mail                        list folders in mail dir
ls -l News                        list folders in News dir
                                  check that all mail and News folders are
                                  now in Folders dir
rm mail/*                         delete folders in mail dir
rmdir mail                        delete mail dir
rm News/*                         delete folders in News dir
rmdir News                        delete News dir

If you have folders in other directories, such as `Mail', move those
folders to your Folders directory and delete your `Mail' directory.
Once you've got all your folders in your Folders directory you can
create links (aliases) for the Folders directory named mail, Mail,
and News.

Type                              In order to...
====                              ==============
ln -s Folders mail                link Folders dir to mail
ln -s Folders Mail                link Folders dir to Mail
ln -s Folders News                link Folders dir to News

User Contributions:

Comment about this article, ask questions, or add new information about this topic:

CAPTCHA




Top Document: Getting Started with News and the NN News Reader
Previous Document: ... ... 7.4.2 Moving and Deleting Messages in a Folder
Next Document: 8.0 Posting

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
FAQ Editor <faq-editor@ii.com>





Last Update August 08 2012 @ 06:20 AM