I am looking for file "WSFY321.c" in a huge directory hierarchy.
Usually I would use GNU find: find . -name "WSFY321.c"
But I do not know the case, it could be uppercase, lowercase, or a mix of both.
...

I have a directory with crash logs, and I'd like to use a conditional statement in a bash script based on a find command.
The log files are stored in this format:
/var/log/crashes/app-2012-08-28.log
...

Suppose that I have a folder containing .txt, .pdf, and other files. I would like to list the "other" files (i.e., files not having the extensions .txt or .pdf). Do you have any advice on how to do ...

I'm nested deep in a file tree, and I'd like to find which parent directory contains a file.
E.g. I'm in a set of nested Git repositories and want to find the .git directory controlling the files I'm ...

What is the Linux command-line command that can identify such files?
AFAIK the find command (or grep) can only match a specific string inside the text file. But I want to match whole contents, i.e. ...

how to scan a folder recursively and find the largest files in the folder, and sort them by size. I have tried using ls -R -S but it tends to list the directories as well I need to scan the folders ...

Typically, one sees find commands that look like this:
$ find . -name foo.txt
when the search is to begin from the current directory. I'm finding that on my machines (Ubuntu, Cygwin) I get the same ...

What would be a good way to move a file type from a directory and all of its sub-directories?
Like "move all *.ogg in /thisdir recursively to /somedir". I tried a couple of things; my best effort was ...

I'm trying to create a compressed tarball that contains all PDF files that exist in one of my directories. The directory structure needs to be retained. Empty directories are not needed, but I really ...

Say there may be hundreds of *.txt files in a directory. I only want to find the first three *.txt files and then exit the searching process.
How to achieve this using the find utility? I had a quick ...