GNU find is used frequently in the pipeline to search for files for processing; pipeline often depends on only a single result being returned. Need to develop function to verify that only one item was returned, can be bundled with the function to check that file/dir exists. Also develop function to run find with given criteria but only return 'n' number of results, refactor this into pipeline.
GNU
find
is used frequently in the pipeline to search for files for processing; pipeline often depends on only a single result being returned. Need to develop function to verify that only one item was returned, can be bundled with the function to check that file/dir exists. Also develop function to runfind
with given criteria but only return 'n' number of results, refactor this into pipeline.