Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

nevakil's avatar

How to retrieves multiple files from server to my local composer?

I have a few files on my digital ocean server and I need to look into them on my computer. I have an Apple macbook and I don't know how to get started with this. I have SSH access to the server.

0 likes
1 reply
bobbybouwmann's avatar
Level 88

There are different ways of doing this. One of the options is a command called rsync. This should be installed on your Mac by default. You basically give up the SSH command to the server and the path of the directory you want to copy over to your local machine.

rsync -azP [email protected]:/www/sites/laravel/storage/app ~/Desktop/laravel/storage

Please or to participate in this conversation.