Top "Find" questions

This tag has multiple meanings.

How to find file accessed/created just few minutes ago

I always forget which file I edit one minutes ago, so I input find . -cmin 1 or some other value but …

linux bash shell unix find
How can I find a file/directory that could be anywhere on linux command line?

Ideally, I would be able to use a program like find [file or directory name] to report the paths with …

linux find ksh locate which
linux find regex

I'm having trouble using the regex of the find command. Probably something I don't understand about escaping on the command …

regex linux bash unix find
Find files and tar them (with spaces)

Alright, so simple problem here. I'm working on a simple back up code. It works fine except if the files …

linux find backup tar
How to find and replace all occurrences of a string recursively in a directory tree?

Using just grep and sed, how do I replace all occurrences of: a.example.com with b.example.com within …

sed find grep replace
find . -type f -exec chmod 644 {} ;

why doesn't this work I am trying to change all files to 644 abd all -d to 755: find . -type f -exec …

magento ssh find chmod
Ruby Array find_first object?

Am I missing something in the Array documentation? I have an array which contains up to one object satisfying a …

ruby arrays performance find
Make xargs handle filenames that contain spaces

$ ls *mp3 | xargs mplayer Playing Lemon. File not found: 'Lemon' Playing Tree.mp3. File not found: 'Tree.mp3' Exiting... (…

shell find xargs
Linux command: How to 'find' only text files?

After a few searches from Google, what I come up with is: find my_folder -type f -exec grep -l "…

linux search find
Best way to handle list.index(might-not-exist) in python?

I have code which looks something like this: thing_index = thing_list.index(thing) otherfunction(thing_list, thing_index) ok …

python list find indexing