Debian Codegraph @

docs/www/tools/upload_files

raw
1 #!/bin/ksh
2
3 # get the command-line arguments
4
5 username=$1
6 password=$2
7
8
9
10 # go into the html directory and upload all the files
11
12 cd html
13
14
15 for file in *.html *.png *.gif intro/* examples/* examples/c/* examples/fortran/* examples/magml/* interfaces/* interfaces/c/* interfaces/cpp/* interfaces/eps/* interfaces/fortran/* interfaces/magml/* compile/* parameters/* formats/* install/* history/* environment/* versions/*
16 do
17 # fname=`basename $file`
18 fname=$file
19 ../tools/dav.pl $fname $username $password w3ec2
20 done