On Friday 12 September 2003 02:33 pm, [EMAIL PROTECTED] wrote: > > man smbmount > > You can put the username+password in credential file. > > Ok, I successfully mounted the share. > > > I do something similar here, and the way I do it, I mount the > > directory from Win2K using smbmount, and then use rsync to > > synchronize the two directory, > > rather than just bulk copying. > > Ok, so I want to rsync /mnt/www/ with /var/www/html/backup/ > > How would I go about doing that? I've tried searching for examples, but > they are leaving me very confused.
First, let me say I am not an expert on this, but this should not be hard. There are many many options of rsync that you can use, depends on your need. man rsync is a great place to look (with examples), and you should read it. Here is an example that I use to keep sync of my samba mounted directory: rsync -rvu --ignore-existing /usr/local/hlds/cstrike /mnt/smb/cstrike Look at the man page for what the options means. From the top of my heard: -r recursive -v verbose -u if the receiving side has newer version, don't replace it --ignore-existing if the receiving side already has the file, ignore it Hope that helps. RDB -- Reuben D. Budiardja Department of Physics and Astronomy The University of Tennessee, Knoxville, TN ------------------------------------------------- /"\ ASCII Ribbon Campaign against HTML \ / email and proprietary format X attachments. / \ ------------------------------------------------- Have you been used by Microsoft today? Choose your life. Choose freedom. Choose LINUX. ------------------------------------------------- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list