Hi dears, so another new task is copy file by mask from Lunux server to FTP, lets start:
find ./ -iname "orec*" -type f -mmin -600 | xargs -I {} ftp -u ftp://login:pasword@172.16.10.2:21/msc/ {}
so its end :)
Generating public/private rsa key pair.
Enter file in which to save the key (/home/linuxpathfinder/.ssh/id_rsa): [Press enter key]
Enter passphrase (empty for no passphrase): [Press enter key]
Enter same passphrase again: [Press enter key]
Your identification has been saved in /home/linuxpathfinder/.ssh/id_rsa.
Your public key has been saved in /home/linuxpathfinder/.ssh/id_rsa.pub.
The key fingerprint is:
35:00:a6:9c:e3:34:ce:65:bf:e2:54:5c:a8:83:a0:5e linuxpathfinder@linuxpathfinder.com
The key's randomart image is:
+--[ RSA 2048]----+
| o.. |
| . + o |
| . B o . + |
| . * * + o . |
|. E= o S |
|. . o . |
| . o . |
| o . |
| . |
+-----------------+
$ ssh asiface@172.16.10.2 mkdir -p .ssh
-mmin n
(modification time in minutes)-mtime n
(modification time in days)-newer file
(modification time newer than modification time of file)-daystart
(adjust start time from current time to start of day)