Scp files to another server help

From: JennAshton (joel_at_tradersunited.com)
Date: 12/09/03


Date: 8 Dec 2003 18:05:19 -0800

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;



Relevant Pages

  • Re: Scp files to another server help
    ... joel@tradersunited.com (JennAshton) wrote: ... > I wrote a simple scp script from my server to pacman server which ... I would like it to pull not just ...
    (comp.lang.perl.misc)
  • Re: Scp files to another server help
    ... > I wrote a simple scp script from my server to pacman server which ... I need help with this script. ... I would like it to pull not just ...
    (comp.lang.perl.misc)
  • Extract photos from document file
    ... A document I have is 8MB due to the uncompressed photos. ... I want to pull the ... jpg files from the document to shrink thier size (jpg file size, ...
    (microsoft.public.word.drawing.graphics)