writing a script that should utilize the find command (locate would not work because of some issue between the database and the filesystem, already tried and does not work) to locate a file by name or extension, but because the filesystem is about ~200TB, it would not be as fast and efficient to run a single find command. My idea is to run find through multiple directories with the '&' command as I believe it would be more efficient that way, although I my be wrong. my current script so far is
#!/bin/bash
echo "Enter either file name or format:"
read FileV
echo "Input the absolute path to directory"
read Dir
for d in $Dir
do
( cd $d && find ???