Top "Find" questions

This tag has multiple meanings.

How can I get `find` to ignore .svn directories?

I often use the find command to search through source code, delete files, whatever. Annoyingly, because Subversion stores duplicates of …

linux find bash grep svn
Find mapped value of map

Is there a way in C++ to search for the mapped value (instead of the key) of a map, and …

c++ dictionary find stdmap
Recursively rename files using find and sed

I want to go through a bunch of directories and rename all files that end in _test.rb to end …

bash scripting sed find replace
What is the best way to count "find" results?

My current solution would be find <expr> -exec printf '.' \; | wc -c, but this takes far too …

bash find
Windows equivalent for Unix find command to search multiple file types

While having a cygwin installed in windows gives most of unix command, still i was wondering how to search multiple …

windows unix command-line find ls
Grep inside all files created within date range

I am on the Ubuntu OS. I want to grep a word (say XYZ) inside all log files which are …

linux ubuntu find grep date-range
Python Reverse Find in String

I have a string and an arbitrary index into the string. I want find the first occurrence of a substring …

python string find reverse
Delete a list of files with find and grep

I want to delete all files which have names containing a specific word, e.g. "car". So far, I came …

grep find pipe rm
find -exec a shell function in Linux?

Is there a way to get find to execute a function I define in the shell? For example: dosomething () { echo "…

linux bash shell find bsd