[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: find and it uncommon syntax - grrrrrrrrr



On Sat, Feb 10, 2024, 2:46 PM gene heskett <gheskett@shentel.net> wrote:
Greetings;

I have misplaced file someplace in /home/gene.
its name is bpim5*shelf.scad

Assuming that you are searching in the current working directory:
 find bpim*  -print | grep 'shelf.scad'

As usual it outputs 100,000 filenames, none of which is the one I am
looking for. How in heck do you shut this thing up so it only spits out
/the/path/to/the/file its looking for it it even found it?

And where do I put that as an alias, in my .bashrc?

Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
  - Louis D. Brandeis


Reply to: