This file is indexed.

/usr/share/doc/cthumb/scripts/tree2album is in cthumb 4.2-3.

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
#!/bin/bash
#
# albumtree - create a cthumb-style tree of albums from a
# directory
#
# (C) 2001, carlos puchol, cpg@rocketmail.com
#
# [WARNING: this can cause a lot of junk being left around your
# directories and can delete stuff randomly. USE ENTIRELY AT YOUR OWN RISK.]
#
#

find . -type d -print | egrep -v "./thumb|.theme" > dirlist

list=/tmp/album.list;
echo -n > $list

for i in `cat dirlist`
do
   (cd $i;
   echo "doing album in $i";
   base=`pwd`;
   base=`basename $base`;
   mkdir -p thumb;
   cthumb -c *.jpg > $base.album;
   echo "$i/$base.album" >> $list
   )
done

for i in `cat dirlist`
do
   (cd $i;
   base=`pwd`;
   base=`basename $base`;
   echo "adding album to $base.album"
   for d in `find . -maxdepth 1 -type d -print | egrep -v 
"./thumb|.theme"`    do
       if [ "$d"z != "."z ]
       then
           d=`echo $d | cut -b3-`;
           # assumes there is only one album, of one language!!          
  echo "" >> $base.album
           echo "Page: $d/$d.album" >> $base.album
           echo "        $d" >> $base.album
       fi
   done
   )
done

rm dirlist

echo "done.";
echo;
echo "now edit by hand the files listed in $list, i.e:";
cat -n $list;
echo;
echo "in particular, put \"MainIndexName: index.shtml\" near the top."
echo "then do cthumb on the first one of them";
echo "Deleting $list";
rm /tmp/album.list