Link to home
Start Free TrialLog in
Avatar of doctor069
doctor069Flag for Canada

asked on

rsync one way

Hi-

I would like to use rsync to send files to a remote machine

so machineA(original files)  --to--> machineB(storage)

if the files/directories get deleted on machineA they say on machineB but don't sync back

if the files/directories get added on machineA they sync to machineB

rsync -rP --ignore-existing /local/path machineB:/remote/path

Does this command make sense?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of larsrohr
larsrohr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of doctor069

ASKER

That worked! Thanks