home *** CD-ROM | disk | FTP | other *** search
-
-
-
- farch(1) USER COMMANDS farch(1)
-
-
-
- NNNNAAAAMMMMEEEE
- farch - archive files in /usr/server/archives
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- farch [-n] [-b] [-s size] [-a archive] [-d dir] [-t file]
- files
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _f_a_r_c_h is used to archive files in /usr/server/archives.
- Archives reside under that directory as subdirectories; the
- default is _l_i_s_t_s_e_r_v, and it is also the master archive.
- Archives are hierarchically structured, and each archive has
- at least two files in its directory:
-
- INDEX
- A list of all subarchives including itself; the format
- is one line per archive with the archive's name fol-
- lowed by the archive's full path.
-
- DIR A list of files available from that archive; the format
- is one line per file, followed by the number of parts
- it may be split into, followed by the full path to the
- directory these parts can be found, followed by a short
- descriptive message about the file (optional).
-
- The following command line options are recognized:
-
- -n Do not split files when archiving them.
-
- -b Input files are binary; they are uuencoded before
- archived.
-
- -s size
- Specify the maximum _s_i_z_e in kilobytes of each of the
- subparts (default is 64).
-
- -a archive
- Specify the _a_r_c_h_i_v_e that the input files will be
- archived under (default is listserv).
-
- -d dir
- Specify the _d_i_rectory that the output files are to be
- placed (default is /usr/server/archives/listserv). If
- the directory does not exist, it will be created.
-
- -t file
- Input files are tarred into _f_i_l_e which is then archived
- (-b flag is automatically turned on).
-
- AAAARRRRCCCCHHHHIIIIVVVVIIIINNNNGGGG AAAA FFFFIIIILLLLEEEE
- _f_a_r_c_h by default splits the input files if necessary (or the
- tar file, if any), into files of maximum size as specified.
-
-
-
- Anastasios Kotsikonas 1
-
-
-
-
-
-
- farch(1) USER COMMANDS farch(1)
-
-
-
- Each part will contain as many complete lines from the ori-
- ginal input file as possible, without exceeding the speci-
- fied size. Binary files are uuencoded before they are
- archived, and all archived files are compressed, if possi-
- ble.
-
- AAAADDDDDDDDIIIINNNNGGGG AAAA NNNNEEEEWWWW AAAARRRRCCCCHHHHIIIIVVVVEEEE
- Step 1
- Create a directory under /usr/server/archives with the
- new archive's name.
-
- Step 2
- Edit the master archive's index file
- (/usr/server/archives/listserv/INDEX) and add the new
- archive along with its path at the bottom of the file.
- The first line of every INDEX file should be the
- archive that owns it. Also edit every ancestor
- archive's INDEX file, if the new archive is not a child
- of the default.
-
- Step 3
- Create a new INDEX file in the new archive's directory
- and put an entry for itself.
-
- Step 4
- Create an empty DIR file in the new archive's direc-
- tory.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- Archive src/data and src/data2 under listserv, using a max-
- imum file size of 1K; the output file(s) will be placed in
- /tmp:
-
- % farch -s 1 -d /tmp src/data src/data2
-
- Archive /etc/hosts under archive unix:
-
- % farch -a unix -d /etc /etc/hosts
-
- Tar and archive all files in /usr/src:
-
- % farch -t source /usr/src/*.c
- Descriptive messages about these files are added manually
- into the archive's DIR file.
-
- RRRREEEESSSSTTTTRRRRIIIICCCCTTTTIIIIOOOONNNNSSSS
- The input files must use only lower case characters of the
- alphabet.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- server(1)
-
-
-
-
- Anastasios Kotsikonas 2
-
-
-
-
-
-
- farch(1) USER COMMANDS farch(1)
-
-
-
- AAAAUUUUTTTTHHHHOOOORRRR
- Anastasios C. Kotsikonas, Boston University.
- Copyright (c) 1991, Anastasios Kotsikonas
- Comments to tasos@cs.bu.edu
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Anastasios Kotsikonas 3
-
-
-
-