liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.5k stars 260 forks source link

Running commands during every SFTP upload #770

Open donbreo opened 4 years ago

donbreo commented 4 years ago

Hi, so I simply wanted to add a few commands that must run in the linux terminal every time there is an upload.

For example, every time the ssh login happens, I want to run the following command on the server after the upload:

chown -R user1:group5 /path/name chmod -R 755 /path/name

How do I do this?