thanks civileme, this might make things a little trickier :-) i shall have to investigate, but first: sleep bascule On Sunday 26 August 2001 5:10 am, you wrote: > On Saturday 25 August 2001 06:00, bascule wrote: > > does anyone know if there is a return value when running rsync that i can > > use in a script that i want to write that will update my local copy of > > cooker and then run urpmi.addmedia --update but only if rsync changes > > anything > > > > make sense? > > i've just started reading up on shell scripts, i don't know how to find > > out this info about progs > > > > bascule > > just in general bash programs return a 0 on success and some other number > on failure > > > However this would not tell you if anything was added or not. You might > have to parse the tail of a log file for that information. > > Civileme
Want to buy your Pack or Services from MandrakeSoft? Go to http://wwww.mandrakestore.com
