Top "Find" questions

This tag has multiple meanings.

Fast way of finding lines in one file that are not in another?

I have two large files (sets of filenames). Roughly 30.000 lines in each file. I am trying to find a fast …

bash grep find diff
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/…

unix command-line find solaris
Find files with size in Unix

I am looking for a Unix command to print the files with its size. I used this but it didn't …

unix find size command
jQuery Find and List all LI elements within a UL within a specific DIV

I have 3 Columns of ULs each a Dynamic UL container that can have anywhere from 0-9 LI containers (eventually more). …

javascript jquery find children
Getting Index of an item in an arraylist;

I have a Class called AuctionItem. The AuctionItem Class has a method called getName() that returns a String. If I …

java arraylist find element indexof
How to find the largest file in a directory and its subdirectories?

We're just starting a UNIX class and are learning a variety of Bash commands. Our assignment involves performing various commands …

file bash directory find large-files
How can I find all *.js file in directory recursively in Linux?

In Linux, how can I find all *.js files in a directory recursively? The output should be an absolute path (…

linux find
How to go to each directory and execute a command?

How do I write a bash script that goes through each directory inside a parent_directory and executes a command …

bash shell unix find
Find files containing a given text

In bash I want to return file name (and the path to the file) for every file of type .php|.…

bash find
PowerShell Script to Find and Replace for all Files with a Specific Extension

I have several configuration files on Windows Server 2008 nested like such: C:\Projects\Project_1\project1.config C:\Projects\Project_2\project2.…

powershell scripting replace find