Pak Jiddat - Innovative Software Services

Read: In the name of thy Lord Who createth, Createth man from a clot. Read: And thy Lord is the Most Bounteous, Who teacheth by the pen, Teacheth man that which he knew not. Nay, but verily man is rebellious That he thinketh himself independent!. Lo! unto thy Lord is the return. (Sura Alalaq 96:8)

Using PSCP command for copying files and directories

Created On: 23 Nov, 2017: 12:09:54 - Tags : software installation | command line tools


PSCP is a command that allows uploading files and folders to a remote server. Its benefit is that it does not require rsync to be installed on the remote server. The PSCP command can be used for example for copying data to a shared hosting platform which does not support rsync and does not provide shell access. It can also be used to transfer data between Windows and Linux servers.

The following command can be used to recursively copy a folder to a remote destination:

pscp -r {source_folder} {user_name}@{remote_server}:{remote_folder_path}

Related Articles

  1. Upgrading Postgresql from version 9.4 to 9.6
  2. Installing latest version of Php
  3. Upgrading MySQL server from version 5.6 to 8.0
  4. Upgrading R from version 3.0 to 3.5
  5. Installing Docker on Debian Jessie
  6. Upgrading Rocket Chat to latest version
  7. Rocket Chat startup script
  8. Rocket Chat migration error
  9. Installing modules in Odoo 10.0
  10. Installing NodeJS on Ubuntu
  11. Installing W3C Markup Validator on Debian Jessie
  12. Finding name server records for domains using Dig
  13. Ignoring errors during MySQL import
  14. Backing up and restoring LXD containers
  15. Resizing Linux root partitions without unmount on Google Cloud
  16. Running multiple versions of mailx command
  17. Configuring SFTP/SSH access for LXC Containers
  18. Debugging programs on Linux using strace
  19. Generate Certificate Signing Request (CSR) for ssl certificates
  20. Split large files using split command in Linux
  21. Monitoring user activity with acct package
  22. Error in pushing changes to remote git repository
  23. Permanently authenticating with remote git repositories
  24. Passing command line arguments to Python script
  25. List users currently logged in
  26. Using Redir command for redirecting ports
  27. Sending email through Gmail server using mailx command
  28. Fetching website resource over https using wget
  29. Delete downloaded file using Wget
  30. Using Oauth2l
  31. How to Backup and Restore LXC containers
  32. Fix ntfs disk is corrupt error
  33. Recover deleted files on ext3/ext4 file system using Photorec
  34. Convert pdf files to text files
  35. Viewing number of files in directory
  36. Using Rsync to copy all files recursively into one folder
  37. Using SED tool for replacing text in files
  38. Automate scp command using sshpass