/usr/bin/Fdescr is in ferret-vis 6.9.3-4build1.
This file is owned by root:root, with mode 0o755.
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 | #! /bin/sh
# Fdescr file_template
# determine if FERRET descriptor files matching template are currently on-line
# by searching the paths in FER_DESCR
. /usr/share/ferret-vis/bin/ferret_paths
if [ $# -ne 1 ]; then
echo "usage: Fdescr descriptor_file_template"
exit
fi
found=0
for subdir in ${FER_DESCR}; do
filelist=`cd "${subdir}" ; find * -maxdepth 0 -type f -name \*"$1"\* -print`
if [ -n "${filelist}" ]; then
echo "* * * * * * * * in ${subdir}"
( cd "${subdir}" ; /bin/ls -l ${filelist} )
found=1
echo " "
fi
done
if [ ${found} -eq 0 ]; then
echo "No files matching '$1' were found"
fi
|