Recursive Function To Find New
I need a php script that will run in an php environment and reads recursively all the files inside a folder, producing 2 files:
– a snapshot txt file recording recursively all the dir and files under current directory, sorted by filename. Each line will contain the file or directory name, the creation date and change date, the linux attributes and if it’s a file the size.
– uses the previously created snapshot txt file, to detect the files that are new or changed(different file date or different size). It writes the names of modified file in a file with the same format as before.
Along with this function I need another one to test it. More details to the winning bidder.