JeffBeall
asked on
HPUX ubuntu
I want to copy two directories from my HPUX box to my Ubuntu box. I would like to do a full copy
cp -r /source /destination
and then copy only modified files since the full copy.
I tried rsync but it won't work in my setup. so is there a way to accomplish this without rsync?
cp -r /source /destination
and then copy only modified files since the full copy.
I tried rsync but it won't work in my setup. so is there a way to accomplish this without rsync?
ASKER
I can't mount the directories on the ubuntu box, i have to mount ubuntu nfs shares to the HPUX box. and i guess the HPUX box only has the cp command. I know the HPUX box doesn't have rsync. also - the HPUX box is a production crucial server - so i am reluctant to add things to it such as rsync. if somehow i screwed something up installing rsync and the server goes down - i would probably be looking for a new job.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Answer:
scp -rp /path_to_local_dir user@dest_server:/path_to_ dest_dir
scp -rp /path_to_local_dir user@dest_server:/path_to_
ASKER
i dont have scp on the HPUX box
Do you have ssh on it?
ASKER
no, i don't have that either.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
RicoCebiche I DO have rcp! does the command you provided mean it will copy only changed files? so - for instance - i could copy the entire directory - then copy only changed files? Also, does the rcp command do recursive copies?
ASKER
thanks for the suggestions
Better fix that rsync problem, though.