A good SysAdmin will try to figure what problem the askee is really
trying to solve when was is typically asked is only how to get past some
obstacle when implementing their own solution (without explaining, of
course, the real problem, their proposed solution, or what they have
done already). There is often a better way to solve it.
For starters, exactly why do need to transfer these files? [We use RSYNC
to synchronize the files on one server with the corresponding directory
on another.]
Does it matter if it a pull or a push transfer? [Some FTP clients have a
(-newer" option that will only pull a file if the local copy is older or
does not exist.]
Does it have to be FTP? [FTP can be a pain to script unless you use
something like ncftp. SCP or RSYNC transfer can be easier to script.]
Rick Pike
-----Original Message-----
From: Zelli Brian
[mailto:oracledba-ezmlmshield-x45933462.[Email address protected]
Sent: Wednesday, November 02, 2005 10:10 AM
To: LazyDBA Discussion
Subject: unix script
Hello all,
This is a bit off topic but I know there are quite a few unix admin
want-to-be's out there. Most of my unix or perl ref books are very
basic so excuse the rtfm question. I need to grab files out of a
directory based on date and ftp them. Does anyone have a very basic
script that can do that? I've been putzing around trying and have
found some very interesting combinations of commands that DON'T work!
tia,
Brian
--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these
terms:http://www.lazydba.com/legal.html
--------------------------------------------------------
This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you.
Oracle LazyDBA home page