J
JennAshton
Hi,
I wrote a simple scp script from my server to pacman server which
copies all jpg files to /jennash/ directory.
Now, I need help with this script. I would like it to pull not just
*.jpg files but other file types as well. Also, is it possible to pull
only files that is 3 minutes old? Please help.
Thanks!
JennAsh
#!/usr/bin/perl
system('scp /export/www/docs/*.jpg pacman:/export/www/jennash/');
exit;
I wrote a simple scp script from my server to pacman server which
copies all jpg files to /jennash/ directory.
Now, I need help with this script. I would like it to pull not just
*.jpg files but other file types as well. Also, is it possible to pull
only files that is 3 minutes old? Please help.
Thanks!
JennAsh
#!/usr/bin/perl
system('scp /export/www/docs/*.jpg pacman:/export/www/jennash/');
exit;