troubleshooting Question

rsync one way

Avatar of doctor069
doctor069Flag for Canada asked on
LinuxProgramming
2 Comments1 Solution474 ViewsLast Modified:
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
larsrohr

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros