On Sun, 23 Jan 2000, Sergio Korlowsky wrote:
> Guys... I need your help,
> (from those using rsync) of course... ;-)
> I used to run rsync from rpmfind.net (Daniel's site)
> but I lost my notes.. and I can't remember the
> couple of lines used to run it!
Rsync runs are best scripted because you use them so often.
Make a new file 'touch <filename>
Edit it to include this. Make changes as appropriate for you eg the last
line is your destination directory.
#!/bin/bash
echo
echo hdc11 must be mounted to /mnt/local/cdrimage !!
echo for do-nothing test run, call with n parameter
echo
echo rsync -vrlt$1 --rsh ssh --delete --partial --progress
echo
rsync -vrlt$1 --rsh ssh --delete --partial --progress \
rsync://rufus.w3.org/linux/Mandrake/7.0/ \
/mnt/local/cdrimage/oxygen/
Make it executable 'chmod ug+x <filename>'
Connect to the internet.
./<filename> n
To assess what would be done, and
./<filename>
to do it.
When done, repeat until nothing new appears.
^C will interrupt at any time .
To resume without loss, issue another ./<filename>
--
Regards,
Ron. [AU] - sent by Linux.