A slash does matter

Setting up a crontab and forgot to add the trailing slash '/' can change the entire output.

The incorrect way:

0 21 * * * rsync -avzhe ssh UserName@ServerName:/etc /etc

The above command will copy the /etc folder from the server ServerName into the /etc folder of the local server.

If you ls the /etc folder on the local serer you will see an etc folder inside /etc

The correct way:

0 21 * * * rsync -avzhe ssh UserName@ServerName:/etc/ /etc/

The above command will copy the contents of the /etc folder from the server ServerName into the /etc folder of the local server.