Is it possible to do something like this:inputNum=$1files=($(find /dir/to/check -mtime $inputNum))Basically the idea is that I can use an input parameter to set the number of days to find files and set it to a variable array.  I am not sure on the syntax to make this readable in bash.
Variable in find command set to new variable in bash
bash;shell script;files;find;variable
The output of find is not post-processable reliably unless you use -print0 instead of -print (-print implied when no action is specified).To post-process the output of find -print0 and store the file paths in an array:With bash4.4+:readarray -td '' files < <(find /dir/to/check -mtime $inputNum -print0)With older versions:files=()while IFS= read -rd '' file; do  files=(${files[@]} $file)done < <(find /dir/to/check -mtime $inputNum -print0)More generally, you'd want to read the recommendations at: Why is looping over find's output bad practice?