Scp files to another server help
From: JennAshton (joel_at_tradersunited.com)
Date: 12/09/03
- Next message: A. Sinan Unur: "Re: Perl script to process file list...."
- Previous message: Jay eL: "regular expression for perl, tcl, sed, grep, awk"
- Next in thread: A. Sinan Unur: "Re: Scp files to another server help"
- Reply: A. Sinan Unur: "Re: Scp files to another server help"
- Reply: James Willmore: "Re: Scp files to another server help"
- Reply: Jim Mozley: "Re: Scp files to another server help"
- Reply: Tintin: "Re: Scp files to another server help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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;
- Next message: A. Sinan Unur: "Re: Perl script to process file list...."
- Previous message: Jay eL: "regular expression for perl, tcl, sed, grep, awk"
- Next in thread: A. Sinan Unur: "Re: Scp files to another server help"
- Reply: A. Sinan Unur: "Re: Scp files to another server help"
- Reply: James Willmore: "Re: Scp files to another server help"
- Reply: Jim Mozley: "Re: Scp files to another server help"
- Reply: Tintin: "Re: Scp files to another server help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|