I need script for file modify time check and if date older, file will be deleted and send report to my email : Read More
SCP allows files to be copied to, from, or between different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh.
Copy the file “foobar.txt” from a remote host to the local host
$ scp [email protected]:foobar.txt /some/local/directory