It hardly seems that there should be enough material to fill an
entire chapter with information about linking, moving, and copying files.
There are several things that make the topic more complex (and more
interesting) than you might expect:
In addition to moving and copying files, UNIX systems also allow you
to link them - to have two filenames, perhaps in different directories
or even on different filesystems, that point to the same file.
We talk about why you'd want to do that (article
the difference between "hard" and "soft" links (article
how to create links (article
and various issues that can come up when using links (articles
It is non-trivial to rename a group of files all at once, but as
usual, UNIX provides many ways to circumvent the tedium of
renaming files one by one.
We show you many different ways to do
this, exploring the variety in the UNIX toolbox along the way.
In a hierarchical filesystem, you're sometimes faced with the
problem of moving not only files but entire directory hierarchies
from one place to another.
show you two ways to do that.
Of course, this discussion starts to
get into the territory covered by the next two chapters.
covers "archives"-large files that include many other files and
directories, with instructions for recreating copies of the original files
Chapter 20 covers backups - which are typically
archive files copied to tape.