Compares the date and time of each file since the last edit and returns a list of modified files
This is a Linux & PHP console application (PHP >= 5.4)
-
Edit string "$project_url"
Enter the absolute or relative path to the files whose date you want to compare.
(Example: public $project_url = "/var/www/vhosts/you-site.com/www";) -
Run ./fmc.php init
This will create "@current.txt" file in the directory with your files.
It contains the exact date and time of run this command. -
Edit/create one or more files in your project
-
Run ./fmc.php check
This will display a list of modified files, the date of which modify is
greater than the date stored in "@current.txt"
- To remove "@current.txt" run ./fmc.php clear