Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Update code files in /usr/share/misc' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Update code files in /usr/share/misc
Authored by: merlyn on Aug 10, '03 04:46:35PM
It'd be easier to do this by rsync...
sudo rsync -avz rsync://mirror.cs.wisc.edu/openbsd/src/share/misc/ /usr/share/misc/

This pulls in some extra stuff, but it's good stuff.

[ Reply to This | # ]

Update code files in /usr/share/misc
Authored by: MaxMouseroom on Aug 10, '03 06:17:16PM

I'm the author of the update script, and just wanted to say that rsync is really cool! If I had known about it, I would have probably skipped writting this script. Thanks for sharing.

However, I will say that when I used rsync as you specified, I got a bunch of junk I really don't want.

Anyway, thanks, seems like there is always more to learn with Unix.



[ Reply to This | # ]
Update code files in /usr/share/misc
Authored by: MaxMouseroom on Aug 10, '03 06:22:55PM

I also noticed that when using rsync, the owner and group codes got all pucked up. Of course that is easy enough to fix.

For Unix newbies:

sudo chown -R root:wheel *



[ Reply to This | # ]
Update code files in /usr/share/misc
Authored by: easco on Aug 10, '03 09:05:29PM

Don't use that "sudo chown" command in the previous posting unless you have changed your current directory to the /usr/share/misc directory first.

Otherwise you will change the ownership of all the files in whatever directory happens to be your current directory and all of it's subdirectories!!!!



[ Reply to This | # ]
Update code files in /usr/share/misc
Authored by: MaxMouseroom on Aug 11, '03 02:27:05AM

Good safety tip, Egon! My bad! Doh!



[ Reply to This | # ]