Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

macos find file or directory by name

find / -name *custom.css -print 2>/dev/null
# / means where to search
# *custom.css means search for all files that have the string "custom.css" in it
# -print 2>/dev/null deletes all error messages like permission denied
# Have fun :)
 
PREVIOUS NEXT
Tagged: #macos #find #file #directory
ADD COMMENT
Topic
Name
6+7 =