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`.