 |
 |
scripting: Mirroring multiple urls
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2002
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2002
Status:
Offline
|
|
I'm getting some progress now:
#!/bin/bash
x=1
echo $x
while [ $x -ne 2301 ]
do
echo $x
x=$((x+1))
done
This loops 2300 times, now to test it with wget directory name variable.I only want to get .zip files but I can't seem to get the wget syntax correct
wget -A .zip http://www.domain.com/dir/ doesn't work 
(Last edited by DevNine; Nov 6, 2005 at 12:14 PM.
)
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2002
Status:
Offline
|
|
Got it working:
#!/bin/bash
x=1
while [ $x -ne 2301 ]
do
echo $x
wget -r --no-parent http://www.domain.com/design/$x/
x=$((x+1))
done

|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2002
Status:
Offline
|
|
Got it working:
#!/bin/bash
x=1
while [ $x -ne 2301 ]
do
echo $x
wget -r --no-parent http://www.domain.com/design/$x/
x=$((x+1))
done

|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2002
Status:
Offline
|
|
Got it working:
#!/bin/bash
x=1
while [ $x -ne 2301 ]
do
echo $x
wget -r --no-parent http://www.domain.com/design/$x/
x=$((x+1))
done

|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2002
Status:
Offline
|
|
Got it working:
#!/bin/bash
x=1
while [ $x -ne 2301 ]
do
echo $x
wget -r --no-parent http://www.domain.com/design/$x/
x=$((x+1))
done

|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |