On Tue, 8 Jul 2003, Nick Rout wrote: > keep the stuff you want to sync in a separate tree (you are probably > doing this already) > > keep some sort of record of what files were there last time you sync'd, > you could ls -lR, or keep md5 sums or whatever. recursively find the > files in the tree and md5sum all of them with a result in a known file.
I've missed most of this thread, so sorry if I repeat something that has been said earlier. It might (IMHO would) be easier to simply have a file that keeps track of the date you last updated the server. Then use "find" to find all files modified since then. ftp -options `find . -anewer timestampfile -print ; touch timestampfile` or: for file in find . -anewer timestampfile ; touch timestampfile ; do echo $file ftp -options $file done (sorry, I don't have ftp installed so can't tell you the options to use) Tim Wright Assistant Lecturer Department of Computer Science University of Canterbury "Language, like terrorism, targets civilians and generates fear to effect political change." -- "Collateral Language" John Collins and Ross Glover ed.
