I have the following rsync that syncs only files and not directories using a couple of filter rules:rsync --dry-run --log-file=/var/log/re_rsyncs/reirl.log -f- */ -f+ * -azve ssh root@app.gdp.ie:/its/pron/fe1/ /mnt/X_Drive/EF/irl/I have tried to modify this to transfer just the .xml files as per below but it still transfers all files:rsync --dry-run --log-file=/var/log/re_rsyncs/reirl.log -f- */ -f+ *.xml -azve ssh root@app.gdp.ie:/its/pron/fe1/ /mnt/X_Drive/EF/irl/How do I get rsync to only transfer the .xml files now ?
rsync only .xml files
linux;rsync