• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 291
  • Last Modified:

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.
0
Joesmail
Asked:
Joesmail
2 Solutions
 
NopiusCommented:
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/
0
 
brentrussellCommented:
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.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now