What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-30 09:06:02
bash perform operation on all files in directory
# Basic syntax: find . -maxdepth 1 -type f -exec your_command {} \; # Where: # - . specifies the current directory (this can be changed to any # directory) # - -maxdepth 1 prevents find from searching directories recursively # - -type f specifies that th... Add solution -
Shell/Bash 2021-08-30 00:31:01
terminal open current directory in finder
find . -type d | grep DIRNAME Add solution -
Shell/Bash 2021-08-28 15:15:01
rm files with extension
find . -name "*.bak" -type f -delete Add solution -
Shell/Bash 2021-08-28 14:07:01
search for filename recursively linux
find . -name "foo*" Add solution
Best helpers
Ranking is empty