hmmm, off the top of my head (you have been warned!)....

rsync -av <rsyncserver>::module/path/to/filename /path/to/local/directory/
will put 'filename' in 'directory'
make sure that the partial file you already have is named the same as that you 
are rsyncing from, remove any .part or whatever,

if you do:
rsync <rsyncserver>::
you will be shown a list of modules,

rsync <rsyncserver>::modulename/
will show the contents of that module and so on, you can keep adding to:
rsync <rsyncserver>::modulename/path/
to discover what you will need to put in the example i gave at the top,

rsync -avr <rsyncserver>::module/path/to/files/ /local/path/
will put all the files in directory 'files' into the local drectory 'path', 
notice the use of leading /'s compared to rsyncing just one file

there are lots of rsync options, '-a' substitutes for a whole raft of these 
and essentially means 'archive', '-v' means verbose, and '-r' will recurse 
down into subdirectories if you need to do this, else ignore it
verbose is useful because you will see if it is rsyncing your file or not

bascule

On Saturday 02 Nov 2002 1:42 am, Damian wrote:
> hi.
> uhm.. kinda embarassed here, but i think i don't quite
> get the man page and dunno what i'm supposed to do here.
> ( i lost my mail archive recently so i have no choice
> but to ask.. )
>
> what parameters do i use to rsync a file? i mean,
> i have a partial/corrupt/whatever ( it's a Mandrake ISO,
> and the md5 does not match the server's ) and i want
> to use rsync to "correct" it.. ? what would the switches
> be?
>
> thanks a lot in advance!
>
> Damian

-- 
"Oh no, not again." 

- A bowl of petunias on it's way to certain death. 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to