Skip to content

vitagon/php-files-recursive-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

php-files-recursive-search

Description

  • We need to find all files that match regex recursively
  • Assume that file's content is only number
  • Make sum of all numbers of this found files
  1. You can add new folder on any level inside test-folder
  2. And create new count.txt file with your own number
  3. Run index.php and check that sum was changed

How to use it

  1. Clone repository
git clone https://github.com/vit-gon/php-files-recursive-search.git
  1. Navigate to repository directory
cd php-files-recursive-search
  1. Open CMD and run index.php
php index.php
  1. You should see [count.txt] | Sum: 10.100000 in the console

About

Search all files by name recursively

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages