/usr/bin/Fdata 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
# Fdata file_template
# determine if FERRET data files matching file_template are currently on-line by
# searching the paths in FER_DATA
. /usr/share/ferret-vis/bin/ferret_paths
if [ $# -ne 1 ]; then
echo "usage: Fdata data_file_template"
exit
fi
found=0
for subdir in ${FER_DATA} ; 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
|