How to use rsync to copy images and dir

Posted on

How to use rsync to copy images and dir – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about linux, centos, rsync, copy, .

I am in the middle of merging 2 directories into 1.



I want to copy all the files in /competitions to /gallery and put them in there respective folders. I can assume that all file names are unique and will not be copied over.

How can I do this with rsync?

Solution :

rync -av /competitions/* /gallery 

should do the trick.

Leave a Reply

Your email address will not be published. Required fields are marked *