Quote:
the +1 after -mtime is number of days, right? Instead, how to specify in hours, like 24 hours?
|
+1 means at least 24hrs * 1. You could express it in minutes:
1. -mmin 5 - it would find files modified exactly 5 minutes ago
2. -mmin +5 - it would find files modified at least 5 minutes ago
3. -mmin -5 - less than 5 minutes ago
Check 'man find' for all other options.
As to the differences between xargs and exec, I believe xargs will be a more efficient option as -exec will
create a new process for each file that is sent to it by 'find'.
When it comes to the property file, have you got access to it? How does it look like? Perhaps, there's
a way of extracting the cache folder path from the property folder through sed or awk. Can you post the output of the property file (or the relevant part of it)?