From db911c7f857e63628d60b08d71a45413660c44a2 Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Thu, 15 Dec 2022 07:30:05 +0000 Subject: [PATCH] Autosave: 2022-12-15 07:30:05 --- .vscode/settings.json | 5 +++++ Programming_Languages/Shell/Find.md | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..41a1aa3 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "cSpell.words": [ + "elif" + ] +} \ No newline at end of file diff --git a/Programming_Languages/Shell/Find.md b/Programming_Languages/Shell/Find.md index dabcf58..e1822f3 100644 --- a/Programming_Languages/Shell/Find.md +++ b/Programming_Languages/Shell/Find.md @@ -84,12 +84,15 @@ $ find -not -name "*.js" -type f ./app/style.css ./dist/index.html ./dist/style.c - - -dfdf ``` -## Actions +Applied to a directory: + +```bash +find . -type -f -not -path "./.git/" +``` + +## Run programs against results Using the `exec` keyword we can run a program against the files that are returned from `find`.