Skip to main content

Questions tagged [find]

This tag has multiple meanings. Please DO NOT use this tag if you're just trying to find something.

find
5 votes
6 answers
5k views

Global Find and Replace in Visual Studio

I have a solution with multiple projects and we need to do some serious global replacements. Is there a way to do a wildcard replacement where some values remain in after the replace? So, for ...
Ian Patrick Hughes's user avatar
15 votes
7 answers
16k views

How can I make the "find" Command on OS X default to the current directory?

I am a heavy command line user and use the find command extensively in my build system scripts. However on Mac OS X when I am not concentrating I often get output like this: $ find -name \*.plist ...
mxcl's user avatar
  • 26.8k
310 votes
9 answers
489k views

How to use 'find' to search for files created on a specific date? [closed]

How do I use the UNIX command find to search for files created on a specific date?
sverrejoh's user avatar
  • 16.7k
169 votes
13 answers
167k views

How can I search for a multiline pattern in a file?

I needed to find all the files that contained a specific string pattern. The first solution that comes to mind is using find piped with xargs grep: find . -iname '*.py' | xargs grep -e 'YOUR_PATTERN' ...
Oli's user avatar
  • 15.8k
173 votes
17 answers
232k views

How do I get the find command to print out the file size with the file name?

If I issue the find command as follows: find . -name *.ear It prints out: ./dir1/dir2/earFile1.ear ./dir1/dir2/earFile2.ear ./dir1/dir3/earFile1.ear I want to 'print' the name and the size to the ...
82 votes
6 answers
52k views

How do I use a pipe in the exec parameter for a find command?

I'm trying to construct a find command to process a bunch of files in a directory using two different executables. Unfortunately, -exec on find doesn't allow to use pipe or even \| because the shell ...
hoyhoy's user avatar
  • 6,341

15 30 50 per page
1
747 748 749 750
751