Skip to content
Magenaut

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

file-search

Recursive File Search (PHP)

October 17, 2022 by Magenaut

I’m trying to return the files in a specified directory using a recursive search.
I successfully achieved this, however I want to add a few lines of code that will allow me to specify certain extensions that I want to be returned.

Categories PHP, Q&A Tags file-search, php Leave a comment

How can I “grep” patterns across multiple lines?

August 11, 2022 by Magenaut

It seems I am misusing grep/egrep.

Categories Q&A, Unix & Linux Tags file-search, grep, regular-expression, search Leave a comment

List the files containing a particular word in their text

August 9, 2022 by Magenaut

I would like to list the files recursively and uniquely that contain the given word.

Categories Q&A, Unix & Linux Tags file-search, find, grep Leave a comment

Recent Comments

  • silverplugins217 on How to add placeholder for contact form7 for dropdown?
  • Shreyas Ikhar on How to add a custom CSS class to core blocks in Gutenberg editor?
  • Magenaut on How to call function on timer ASP.NET MVC
  • Ebaad Uddin on How to call function on timer ASP.NET MVC
  • michealSmith07 on Is there a way to dynamically refresh the less command?

Tags

.net adobe-illustrator adobe-photoshop ajax arrays asp.net asp.net-core asp.net-mvc bash c# css database django eloquent express html java javascript jquery json laravel laravel-4 laravel-5 laravel-8 linux list mongodb mongoose mysql node.js npm pandas php python python-3.x react-hooks react-native react-router reactjs redux regex sql string typescript wordpress
© 2023 Magenaut • Built with GeneratePress