fminplus=$(( fmin + 60*24 ))
# Filesystem files get copied, so find any newer than the last run.
# The rest are hueristics:
fminplus=$(( fmin + 60*24 ))
# Filesystem files get copied, so find any newer than the last run.
# The rest are hueristics:
- # just because i forget a lot, -mmin -NUM means files modified <= NUM minutes ago
- if [[ $(find ${all_dirs[@]} -mmin $fmin -type f -print -quit 2>/dev/null) ]]; then
+ # Just because i forget a lot, -mmin -NUM means files modified <= NUM minutes ago
+ if (( fmin < 0 )) && [[ $(find ${all_dirs[@]} -mmin $fmin -type f -print -quit 2>/dev/null) ]]; then