First with bad, brain- or finger- or tin-damaging results. But with results! Results you could view, you could touch, and you could carry away from the computer to ask others how to improve them.So a programmer must know about both.
In most cases, this means to hide the system away from the user as wide as possible.
It means also, that it is programmer's task to think like the system on the one hand (to make it
work) and to think like a user on the other hand ("Oh! The system says mousehouse:$ _
and beeps! What does that mean?")
Wah, I hate to write intros like these.
I should say at this place that most lacks do occur on most programs, so a user-intercface modul should be no problem taking away more than 30% of programmer's time.
tar usage: tar [options] ... [files]
tar
Welcome to tar @ mousehouse: ! Choose a selection:
0 exit
1 General overview over tar (one screenful)
2 syntax hints for tar
3 options for tar
4 a quick'n'dirty EXAMPLE for tar
9 More help on this
1
General overview over tar
I the old days, we used tape machines to backup files. They used
a very simple filesystem, and all backuped files went into one huge
tar file. In a way, that they could be taken apart again, of course.
Today, we still use tar, as it has proven very reliable. But we
produce our huge *.tar files on the harddisk and compress it (with
gzip) to save disk space and data transfer time.
tar will take everything you tell it to work on, and add it to a huge
file with your favorite name.
Or process such a file and separate the tarred files in there.
0 exit
1 General overview over tar (one screenful)
2 syntax hints for tar
3 options for tar
4 a quick'n'dirty EXAMPLE for tar
9 More help on this
3
Options for tar
c zip files together
x separate files
p preserve properties
f tar / untar subdirectories
v verbosely
0 exit
1 General overview over tar (one screenful)
2 syntax hints for tar
3 options for tar
4 a quick'n'dirty EXAMPLE for tar
9 More help on this
4
tar -cpvf a* >all.a.files
glues
files and directories, recursively
with properties
verbosely
don't know what f is for
starting with an "a"
and write them to all.a.files.tar
tar -xpvf all.a*
processes every file starting with all.a
and tries to separate the glued files.
Usually, tar checks whether this is a tar archive at all.
0 exit
1 General overview over tar (one screenful)
2 syntax hints for tar
3 options for tar
4 a quick'n'dirty EXAMPLE for tar
9 More help on this
9
See man tar.
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Command(Yes, this is the standard vi surface.)
fghijkl� ~ ~ ~ ~ ~ ~ ~ ~ Input"Doesn't work. I must get out of here.."