May-25-2019, 08:11 AM
Have you managed to
Once inside the server then is normal to use commands like scp, rm or rsync to do stuff with files and folder.
then with project like fabric, Paramiko or ansible.
SSH
into your server from the command line? Once inside the server then is normal to use commands like scp, rm or rsync to do stuff with files and folder.
Pedroski55 Wrote:1. download all files in the path,
-r
Recursively copy entire directoriesscp -r [email protected]:/path/to/foo /home/user/Desktop/If Copy to Windows,
c
is the drive C:\
. scp -r [email protected]:/path/to/foo /c/tmp
Pedroski55 Wrote:3. then delete them on the web server.
rm /path/to/directory/*This is example of usage on server over SSH,can do stuff like this with Python,
then with project like fabric, Paramiko or ansible.