1835106 Members
2152 Online
110076 Solutions
New Discussion

Re: RCP command usage

 
Henry Chua
Super Advisor

RCP command usage

Hi Guys,

Can command rcp command be used for incremental back up process?

regards
Henry

3 REPLIES 3
Georg Tresselt
Honored Contributor

Re: RCP command usage

So, you are looking for an option that causes only files to be copied which have been accessed within the last 24 hours or so.

No, I don't think that is available out of the box. But you can always wrap a script around it.
http://www.tresselt.eu
Simon Hargrave
Honored Contributor

Re: RCP command usage

rsync will copy changes to files, to copy incremental changes over a network. You can get it from: -

http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/rsync-2.6.3/
Gordon  Morrison
Trusted Contributor

Re: RCP command usage

If I understand correctly what you want to do, something like this might be what you're after:

find / -mtime -1 -type f -exec rcp {} <> \;

Put that line in a script and run it once a day from cron.
What does this button do?