i'm using FileUtils of Commons.IO and i'm trying to create a backup script, the simple rules is to copy from source to dest directory all files (and subdirs) that don't exist in dest or if source has a lastmodified date newer than other.
I can not understand if FileUtils.copyDirectory() is the right choice than how can I set the right FileFilter.
Thank you.