Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Say I have
Server ASRC 001.jpg 002.jpg 001.txt a.zip Server BDEST hello.jpg
rsync -d --delete server_aSRC:{*.jpg ,*.txt} DEST
It doesn't remove hello.jpg from server BDEST, any idea how to archive this?
Server A 001.jpg 002.jpg a.zip Server B hello.jpg
rsync -d --delete server_a:*.jpg .
It doesn't remove hello.jpg from server B, any idea how to archive this?
SRC 001.jpg 002.jpg 001.txt a.zip DEST hello.jpg
rsync -d --delete SRC:{*.jpg,*.txt} DEST
It doesn't remove hello.jpg from DEST, any idea how to archive this?