08-25-2007
This post looks like home work as there're hints and conditions.....
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
If I wanted a machine to put a specific file onto another OS far across the internet via FTP - and I wanted to do it automatically not user intervented, how would I do that?
Use the PUT command?
The file name and position never changes, it gets overwritten and the system on the other end... (6 Replies)
Discussion started by: n9ninchd
6 Replies
2. UNIX for Advanced & Expert Users
My requiremnet is to write a FTP script which will ftp a file to a specified ftp url.
How can I automate the process usnig the unix cron. (11 Replies)
Discussion started by: shauche
11 Replies
3. Shell Programming and Scripting
Hi ,
I need some help to finish my ftp script and i need to find the last one weeks of fles updated in the sepecific directory and see those end with Z and ftp them to my backup server. Any help is appreciated.
Thanks,
Ravi :) (1 Reply)
Discussion started by: koduri0475
1 Replies
4. Programming
Hi ,
I need some help to finish my ftp script and i need to find the last one weeks of fles updated in the sepecific directory and see those end with Z and ftp them to my backup server. Any help is appreciated.
Thanks,
Ravi :) (1 Reply)
Discussion started by: koduri0475
1 Replies
5. UNIX for Advanced & Expert Users
Hi ,
I need some help to finish my ftp script and i need to find the last one weeks of fles updated in the sepecific directory and see those end with Z and ftp them to my backup server. Any help is appreciated.
Thanks,
Ravi :) (1 Reply)
Discussion started by: koduri0475
1 Replies
6. Shell Programming and Scripting
Automated Unix to Windows Active Directory FTP
I have done many automated FTP scripts using the following logic:
===============================
echo "Starting the FTP transfer..."
{ echo "
open 192.168.1.100
user username password
ascii
put... (1 Reply)
Discussion started by: Cbish68
1 Replies
7. Shell Programming and Scripting
I want to do Automated FTP from linux client to LINUX server using a shell script after every one hour. And copies last most updated file from Linux server.
OR
You can say that whenever files get modified on LINUX server so it also copies on my LINUX client.
Linux SERVER path=... (4 Replies)
Discussion started by: wakhan
4 Replies
8. Shell Programming and Scripting
Hi all,
I'm using the following script to automated ftp files to 1 ftp servers
host=192.168.0.1
/usr/bin/ftp -vi >> $bkplog 2>&1 <<ftp
open $host
bin
cd ${directory}
put $files
quit
ftp
and the .netrc file contain
machine 192.168.0.1
login abc... (4 Replies)
Discussion started by: varu0612
4 Replies
9. Shell Programming and Scripting
Hello,I just know the basics of scripting & I need a script to automate ftp since I use it quite often.
I use ftp to transfer different kind of files and everytime the source & the destination directories are different for transferring files, so can anyone help me out on this urgently.. (2 Replies)
Discussion started by: mohit_02mar
2 Replies
LEARN ABOUT DEBIAN
weatherrc
weatherrc(5) File Formats Manual weatherrc(5)
NAME
weatherrc - configuration file format for the weather(1) utility
DESCRIPTION
The weatherrc file format is intended to specify a set of aliases by which to group URIs for METAR station conditions and alert/forecast
zones, but other command-line options and flags for the weather utility can be specified as well. The file is organized as an INI-format
config, with the alias name in [] brackets and the associated parameter/value pairs on following lines. Parameters and their values are
separated by = or : characters. Multi-word values do not need quoting. These parameters are supported...
alert include local alert notices (possible values are False and True or 0 and 1)
atypes list of alert notification types to display (ex: tornado_warning,urgent_weather_message)
cache control all caching (possible values are False and True or 0 and 1)
cache_data
control retrieved data caching (possible values are False and True or 0 and 1)
cache_search
control search result caching (possible values are False and True or 0 and 1)
cacheage
duration in seconds to refresh cached data (ex: 900)
cachedir
directory for storing cached searches and data (ex: ~/.weather)
conditions
output current conditions (possible values are False and True or 0 and 1)
defargs
list of default command-line arguments (ex: avl,rdu)
forecast
include a local forecast (possible values are False and True or 0 and 1)
headers
list of conditions headers to display (ex: temperature,wind)
imperial
filter/convert conditions for US/UK units (possible values are False and True or 0 and 1)
metric filter/convert conditions for metric units (possible values are False and True or 0 and 1)
quiet skip preambles and don't indent (possible values are False and True or 0 and 1)
setpath
directory search path for correlation sets (ex: .:~/.weather)
verbose
show full decoded feeds (possible values are False and True or 0 and 1)
EXAMPLES
The following is an example ~/.weather/weatherrc defining a couple aliases named home and work to be displayed when running the utility
with no aliases specified...
[default]
defargs = home,work
[home]
description = Conditions and Forecast at Home
forecast = True
metar = http://weather.noaa.gov/pub/data/observations/metar/decoded/KRDU.TXT
zone_forecast = http://weather.noaa.gov/pub/data/forecasts/zone/nc/ncz041.txt
[work]
description = Conditions at Work
metar = http://weather.noaa.gov/pub/data/observations/metar/decoded/KGSO.TXT
Now if weather is invoked by itself on the command line, it will output conditions for home and work, and also a forecast for home only.
AUTHOR
Specification and manual written by Jeremy Stanley <fungi@yuggoth.org>.
SEE ALSO
weather(1)
2.0 2012-06-24 weatherrc(5)