On Wednesday 20 February 2002 10:41, Paul 'Baloo' Johnson wrote: > Is there a script in existance that would search for changes among a > tree structure, symlink all the new files, and removes any old symlinks? > The idea here is to get a listing of all the new files in the last n > days and keep it up to date in some directory off to the side. cd {your "side directory"} && find {you dirtree} -atime -{number of days} | xargs -i ln -s {} && for i in *; do if [ ! -e $i ]; then rm $i; fi; done might do the trick :-) cheers, Yven --
Yven J. Leist - [EMAIL PROTECTED] http://www.leist.beldesign.de