Last active
January 30, 2023 18:16
-
-
Save avkosme/5f4a3cad33746dc79d3c70f2f0da4a11 to your computer and use it in GitHub Desktop.
Revisions
-
avkosme revised this gist
Jan 30, 2023 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,4 +2,7 @@ find . -type f -name '*.log' -printf x | wc -c # Non-recursive search find . -maxdepth 1 -type f -name '*.log' -printf x | wc -c # Delete by .ext find /path/ -maxdepth 3 -type f -name "*.xlsx" -delete -
avkosme created this gist
Jan 13, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ # Recursive search find . -type f -name '*.log' -printf x | wc -c # Non-recursive search find . -maxdepth 1 -type f -name '*.log' -printf x | wc -c