[raspberry-vi] Re: Alsa Path

  • From: Jeffery Mewtamer <mewtamer@xxxxxxxxx>
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Sat, 17 Apr 2021 17:49:11 +0000

Also, if you want to find files by name, I believe you want to use
either the -name or -iname flags with find... and generally, you want
to put the expression you're searching for in quotes.

e.g.

find path/to/search -name "*.jpg"

should print paths to all the .jpg files under path/to/search.
Changing -name to -iname will also return .JPG .Jpg, .JpG etc. Also,
it should be noted: while most commands require a double dash(--)
before long flags, Find requires a single dash.

You can also use
-type d
or
-type f

to return only directories and files respectively

and

-empty

will return directories with no content and files that are 0 bytes.

This is barely scratching the surface of the find command, but it will
hopefully be enough to get you started with using it.

Also, as I understand it, /etc/ is mostly where system-wide
configuration and templates for creating new user config directories
are stored. for executables, there's also /bin and /sbin, but I get
the impression those are more for core system utilities than anything
the user is likely to invoke directly.utilities
=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: