This file is indexed.

/usr/share/doc/flightgear/README.TerraSync is in flightgear 2.4.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
TerraSync
=========

Usage:
	
    terrasync -p <port> [ -R ] [ -s <rsync_source> ] -d <dest>
    terrasync -p <port>   -S   [ -s <svn_source> ] -d <dest>

Example:

    $ fgfs --atlas=socket,out,1,localhost,5500,udp --fg-scenery=/usr/local/FlightGear/data/scenery:/data1/Scenery-0.9.2
    $ nice terrasync -p 5500 -d /data1/Scenery-0.9.2

Requirements:

    - rsync util installed in your path.
or	- svn util installed in your path

NOTE!!!!  Do not run terrasync against the default
$FG_ROOT/data/Scenery/ directory.  I recommend creating a separate
scenery directory and specifying both in your ~/.fgfsrc file or via
the command line.

TerraSync is a utility that is intended to run as a light weight
background process.  It's purpose is to monitor the position of a
FlightGear flight and pre-fetch scenery tiles from a remote server
based on the current FlightGear position.

This allows you to do a base install of FlightGear with no add on
scenery.  Now just go and fly anywhere.  Scenery is fetched "just in
time" and accumulated on your HD so it is already there next time you
fly.  You can fly anywhere and essentially just the scenery you need
is auto-installed as you fly.

Terrasync runs as a separate process and expects the --atlas=port
format to be sent from fgfs.  The fgfs output tells the terrasync util
where FlightGear is currently flying.  Terrasync will then issue the
appropriate commands to rsync the surrounding areas to your local
scenery directory.  The user need to choose a port for
FlightGear->TerraSync communication and then specify the server
location and destation scenery tree.

As you fly, terrasync will periodically refresh and pull any new
scenery tiles that you need for your position from the server.

This also works if the scenery on the scenery server is updated.
Rsync ( or svn ) will pull any missing files, or any newly updated files.

There is a chicken/egg problem when you first start up in a brand new
area.  FlightGear is expecting the scenery to be there *now* but it
may not have been fetched yet.  I suppose without making a more
complex protocol, the user will need to be aware of this.  For now I
suggest exiting FlightGear after terrasync gets caught up, and
restarting FlightGear.  The second time FlightGear starts up
everything should be good.

Final notes:

I have set up the scenery server at
scenery.flightgear.org::Scenery-0.9.2.  This is the latest 0.9.2 build
of the world.

Note to self:

nice ./terrasync -p 5500 -s baron.flightgear.org:/stage/fgfs05/curt/Scenery-1.0 -d /stage/catalina3/Scenery-1.0/