I\'d rather not do this in PHP so I\'m hoping a someone decent at shell scripting can help.
I need a script that runs through directory recursively and finds all fil
as simple as:
find . -mtime -1 | xargs tar --no-recursion -czf myfile.tgz
where find . -mtime -1 will select all the files in (recursively) current directory modified day before. you can use fractions, for example:
find . -mtime -1
find . -mtime -1.5 | xargs tar --no-recursion -czf myfile.tgz