script for file manipulation
hi there people! first of all im no good at bash scripting. can somebody give me a short script or any pointers on how copy/backup directories and all its contents or just files from that directory but with a certain condition that these directories and its contents are created/modified at a certain period (e.g. created/modified 1 day ago). i know that the command find will do the trick but my problem is how to do it if for example, the directory was created beyond the specified time and so as the other files in it and that i would only want to copy/backup the latest modified files in that directory and so as the directory itself. thanks in advance..
Last edited by yongitz; 08-17-2006 at 04:49 AM.