LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   rsync not doinf its jub updating (https://www.linuxquestions.org/questions/slackware-14/rsync-not-doinf-its-jub-updating-336538/)

bird603568 06-23-2005 04:00 PM

rsync not doinf its jub updating
 
this is the command i use to update:
rsync -rvu --stats --progress --force carroll.cac.psu.edu::slackware/slackware-current/source/* /spare/source/

but when it upfates it doesn't grab the new .Slackbuild or the slack-desc. So what am I doing wrong?

Tinkster 06-23-2005 04:21 PM

Is your machine ahead of time?


Cheers,
Tink

keefaz 06-23-2005 04:23 PM

Maybe add -a option to rsync

shilo 06-23-2005 04:24 PM

Not sure, but I think you can ditch the "*".

On a somewhat related note, this is the rysync script that I use in /etc/cron.daily:

Code:

#!/bin/sh
/usr/bin/rsync --delete -a \
--exclude=/zipslack/ --exclude=/pasture/ \
--exclude=/slackware/gnome/ --exclude=/source/gnome/ \
--exclude=/slackware/kdei/ \
ftp.slackware.at::slackware/slackware-current/ \
/var/slackware-current

This works perfectly for me. You can use a variant to do what you would like.

bird603568 06-23-2005 09:55 PM

shilo your the man.
On a side note what do you mean ahead of time? I plan on having it last through college and then some. So thats 5+ years.

bird603568 06-24-2005 11:41 PM

shilo u used your script but pointed it to the /source folder and it still doesn't update the slack-desc and the .Slackbuild. Is that because they have the same name?

shilo 06-25-2005 01:34 AM

I don't understand the question. I know that I have slack-desc and .Slackbuild files. What is the problem you are having?

bird603568 06-25-2005 11:44 AM

the first time i run it it gets all the files, including the .Slackbuild and the slack-desc. But when Pat updates lets say groff to 1.19.1 (only because it was the first on the changelog) the slack-desc and the .Slackbuild still are for the old version, even thou on the server it is current on the server. So I end up getting them manually.

Shade 06-25-2005 11:47 AM

Bird,

Tinkster was asking if your machine's 'date' setting is perhaps ahead of the server's. If so, the files on your hard drive will always appear newer, hence rsync will not grab them.

--Shade

bird603568 06-25-2005 12:19 PM

unless there server isn't synced with time.gov then were close enough.


All times are GMT -5. The time now is 01:37 PM.