Sponsored Content
Full Discussion: Batch download
Top Forums Shell Programming and Scripting Batch download Post 302612111 by ygemici on Saturday 24th of March 2012 04:28:56 PM
Old 03-24-2012
Quote:
Originally Posted by hoo
I get errors.

w.sh: line 5: syntax error near unexpected token `done'
w.sh: line 5: `wget $getlink ; done<url.txt'
what is your system?
did you use bash or sh?
can you check the possible typos?

and you can define the full path your URLfile
Code:
...
.....
done</full/path/url.txt

Code:
#!/bin/bash
while read -r URL ; do
getlnk=$(curl -s "$URL"|sed -n '/.flv/s/<[^>]*>//gp')
wget $getlnk 
done</full/path/url.txt

regards
ygemici

Last edited by ygemici; 03-24-2012 at 05:35 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

batch render

I'm interested in getting unix in my pc, can someone tell me where and how can I get it. I'm a complete virgin about unix, I work in 3d animation and i need unix to make batch rendering work in Maya. Another question is: how do I know what hardware is compatible with unix and do I need any drivers... (1 Reply)
Discussion started by: Vitor
1 Replies

2. Shell Programming and Scripting

rename in batch

example test1 will have m1234567.12a I would like to rename in batch but I don't Please help me on this. cd /a1/a2/a3 test1=$(basename /a1/a2/a3/*.*) >> /tmp/t echo $test1 echo "Extracting 8 th position" >> /tmp/t2 awk '{print substr($1,8,1); }' $test1 >> /tmp/t3 echo "extraction ... (3 Replies)
Discussion started by: kathy18
3 Replies

3. IP Networking

batch file

my requirment is i have to call a batch file from a c++ program that batch file is called with the argument as print.txt print.txt is a text file which should get printed on printer (any printer) when a batch file call is made 1) how to call a batch file in c++ 2) how to print the text... (1 Reply)
Discussion started by: ramneek
1 Replies

4. Programming

batch file

what is a command to call a batch file from a c++ program when called with the argument which is a text file, then how to print that text file on a printer. please help me with code if possible (3 Replies)
Discussion started by: ramneek
3 Replies

5. Shell Programming and Scripting

batch renaming ...

hi all, given a path, for example : /<pwd>/artist/album/ what i would like to do is to rename the album directory like that : /<pwd>/artist/artist | album/ and i would like to do the latter for all the "artist" directories and for all the "album" directories that belong to an artist ... (4 Replies)
Discussion started by: OneDreamCloser
4 Replies

6. UNIX for Advanced & Expert Users

batch file

Hi all I am using tru64 Unix and I want a ready batch file which makes me to change all user passwords at the same time ,instead of changing everyone separately. Please could anyone help me to do that. bye. (1 Reply)
Discussion started by: ahmedbashir
1 Replies

7. Windows & DOS: Issues & Discussions

help with batch script

I have a file named xyz.txt with the contents eg: abc/pluto/tag/ver_1.0(b0123) abc/pippo/tag/ver_1.0(b0124) . and so on I need a script which read one by one the enteries from the file xyz.txt create folders pluto/ver_1.0(b0123) and pippo/ver_1.0(b0124) ans so on and run a command svn... (1 Reply)
Discussion started by: nerd1976
1 Replies

8. Shell Programming and Scripting

Executing a batch of files within a shell script with option to refire the individual files in batch

Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below. I am on a solaris server btw. Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose. ... (2 Replies)
Discussion started by: goddevil
2 Replies

9. Shell Programming and Scripting

Batch code

Hi Friends, I have a script like this cat script #!/bin/bash #Name: name #Task: name #$ -e /path/to/error/logfile/err.log #$ -o /path/to/output/logfile/out.log I have a list of commands like this cat commands cat 1.txt > 2.txt cat 23.bed > 789.alm zcat 1.gz > 1.txt (3 Replies)
Discussion started by: jacobs.smith
3 Replies

10. Shell Programming and Scripting

Batch or not if/then

I am having trouble modifying a .sh that allows the user to run different command based of an input. So based on the user input of Y or N a different command is run. Thank you :). #!/bin/bash while true do printf "Is this a batch : " ; read id && break If "$id" = Y, Then... (14 Replies)
Discussion started by: cmccabe
14 Replies
dillo(1)							   USER COMMANDS							  dillo(1)

NAME
dillo - web browser SYNOPSIS
dillo [OPTION]... [--] [URL|FILE]... DESCRIPTION
Dillo is a lightweight graphical web browser that aims to be secure. It handles HTTP internally, and FILE, FTP, and DATA URIs are handled through a plugin system (dpi). In addition, INSECURE HTTPS support can be enabled. Both FTP and Dillo's download manager use the wget(1) downloader. Dillo displays HTML, text, PNG, JPEG, and GIF files. It handles cookies, HTTP authentication (basic and digest), proxying (basic), and some CSS. Framesets are displayed as links to frames, and there is currently no support for javascript or video. OPTIONS
-f, --fullwindow Start in full window mode: hide address bar, navigation buttons, menu, and status bar. -g, --geometry GEO Set initial window position where GEO is WxH[{+-}X{+-}Y]. -h, --help Display this help text and exit. -l, --local Don't load images for these URL(s). -v, --version Display version info and exit. -x, --xid XID Open first Dillo window in an existing window whose window ID is XID. EXIT STATUS
0 No error. 1 Internal error. 2 Error in command line arguments. ENVIRONMENT
HOME (or HOMEDRIVE and HOMEPATH on Cygwin) User's home directory. http_proxy URL of proxy to send HTTP traffic through. FILES
dpid Dillo plugin daemon dpidc Control program for dpid. ~/.dillo/bm.txt User bookmarks ~/.dillo/certs/ Saved certificates for HTTPS. ~/.dillo/cookies.txt Stored cookies ~/.dillo/cookiesrc Cookie settings ~/.dillo/dillorc Configuration file. ~/.dillo/dpid_comm_keys Keys used in dpi daemon communication. ~/.dillo/dpidrc Contains name of directory containing dpis, and associates dpi files with protocols. ~/.dillo/keysrc Keybindings. ~/.dillo/style.css User style sheet SEE ALSO
wget(1) Dillo website: http://www.dillo.org October 13, 2011 dillo(1)
All times are GMT -4. The time now is 06:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy