With madock
you can sync media files between your dev site and your local site.
For synchronization, you must specify the ssh connection data in the project settings file madock/projects/{projects_name}/env.txt
And run the command in the project folder
madock remote sync media
or
madock remote sync media --images-only --compress