Easy way to copy.

Hi Experts,

Just wanted to know an easy way to copy from one Fedora 4 box to another.

I current use SSH to transfer the files...just wanted to know if there was a "network file copy" way to do this and automate it.

I ideally would like to keep the file file1 on BOX1 upto date with the file1 on BOX2.  Can RCP do this?  Any help with maybe an example would be much appreciated.
LVL 10
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rsync will better fit your needs. It's a 'network file synchronization'.
One side will have running rsync server, other will run rsync client when you need to synchronize (eventually or periodically).
rsync may also work over ssh

Here is there site, manuals and examples: http://rsync.samba.org/
also man rsync

Another way - is to share your folder by NFS on BOX2 and to mount it via NFS on BOX1. Then you don't need to synchronize.
man nfs
man exports
or read howto: http://www.tldp.org/HOWTO/NFS-HOWTO/

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
You could make a cron job that runs:

scp root@server.ltd file file if thats all that you want. a small script to transfer files across a network is all that is needed.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.