We help IT Professionals succeed at work.

rsync one way

doctor069
doctor069 asked
on
472 Views
Last Modified: 2012-02-21
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
Comment
Watch Question

Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
That worked! Thanks
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.