Re: Need a script to update directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/2/07, Burke, Thomas G. <tg.burke@xxxxxxx> wrote:
        Problem:  Copying everything is slow and, generally, painful.
There's a couple 100 meg of data there.  I'm looking for a script to
update the web directory with newer/missing files.  I don't mind at all
if some stuff stays there, a true sync isn't necessary.  I just need to
get all the new content pushed to the appropriate place.

rsync

I use this to rsync /var/www/html (and a few others) between a pair of
servers (for failover), but it can also be used to sync two
directories on a single host.  It does what you want, only updating
files instead of copying the whole tree.

--
Jeremy L. Gaddis, MCP, GCWN
http://www.linuxwiz.net/

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux