http://phecoopkj4ytf3fokcfvykymg7zuhkwsoqbh5dgnwwee423delgexyqd.onion/page-2212240042-Have-the-find-Command-Invoke-A-Custom-Shell-Function-BASH.html
Published: 2022-12-24 00:43:11 +0000 Categories: BASH , Misc , Language BASH Description The find command accepts and -exec argument, allowing you to pass matching files into an arbitrary command. It's pretty useful, but sometimes you want to be able to have it invoke a custom function, which it can't do without a little bit of tweaking This snippet details how to have find invoke a custom shell function against each matching result, the example uses BASH but the same...