troubleshooting Question

rsync not deleting, why?

Avatar of Mark
Mark asked on
Linux
4 Comments2 Solutions612 ViewsLast Modified:
I run the following command:

rsync -rvtO --delete myUser@myHost:/backup/\* /backup/folder/

It copies the files from the source host, but does not delete files in the destination folder that no longer exist on the source. I get no error message. This rsync version is 3.0.4  protocol version 30. The --delete option on other computers just fine. the rsync user does have permission in the /backup/folder directory because I was able to delete a file in that directory by-hand logged in as the rsync user. The /backup directory is a mounted external USB drive.


Any ideas?
ASKER CERTIFIED SOLUTION
Mark

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

Join our community to see this answer!
Unlock 2 Answers and 4 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 2 Answers and 4 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