04-26-2013
Another hack is piping wget into dd, using dd to limit the byte count.
Regards,
Alister
This User Gave Thanks to alister For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello Everyone,
I'm trying to use wget recursively to download a file.
Only html files are being downloaded, instead of the target file.
I'm trying this for the first time, here's what I've tried:
wget -r -O jdk.bin... (4 Replies)
Discussion started by: thoughts
4 Replies
2. Shell Programming and Scripting
Hi All
I want to download srs8.3.0.1.standard.linux24_EM64T.tar.gz file from the following website :
http://downloads.biowisdomsrs.com/srs83_dist/
But this website contains lots of zipped files
I want to download the above file only discarding other zipped files.
When I am trying the... (1 Reply)
Discussion started by: alphasahoo
1 Replies
3. UNIX and Linux Applications
I need to download the following srs8.3.0.1.standard.linux26_32.tar.gz file from the following website:
http://downloads.biowisdomsrs.com/srs83_dist
There are many gzip files along with the above one in the above site but I want to download the srs8.3.0.1.standard.linux26_32.tar.gz only from... (1 Reply)
Discussion started by: alphasahoo
1 Replies
4. Shell Programming and Scripting
Hi,
I want to download some online data using wget command and write the contents to a file.
For example this is the URL i want to download and store it in a file called "results.txt".
#This is the URL.
$url="http://www.example.com";
#retrieve data and store in a file results.txt
... (3 Replies)
Discussion started by: vanitham
3 Replies
5. Windows & DOS: Issues & Discussions
I downloaded and installed wget for windows, then used cmd.exe to run it directly from its install folder. I downloaded an 8.5 GB (yes, Giga) tar file, waited a couple of days, then tried to find it only to see that it's nowhere to be found! I don't want to re-download the whole thing, especially... (3 Replies)
Discussion started by: HalfThere
3 Replies
6. Shell Programming and Scripting
Hi
I need a Shell script that will download a zip file every second from a http server but i can't use neither curl nor wget.
Can anyone will help me go about this task ???
Thanks!! (1 Reply)
Discussion started by: rubber08
1 Replies
7. Shell Programming and Scripting
Hi,
I need to implement below logic to download files daily from a URL.
* Need to check if it is yesterday's file (YYYY-DD-MM.dat)
* If present then download from URL (sample_url/2013-01-28.dat)
* Need to implement wait logic if not present
* if it still not able to find the file... (1 Reply)
Discussion started by: rakesh5300
1 Replies
8. Shell Programming and Scripting
i have a cron that mirrors a site periodically
wget -r -nc --passive-ftp ftp://user:pass@123.456.789.0
i want to download this into a directory called /files
but when I do this, it always create a new directory called "123.456.789.0" (the hostname)
it puts it into /files/123.456.789.0
but... (3 Replies)
Discussion started by: vanessafan99
3 Replies
9. Shell Programming and Scripting
There is a website providing traffic camera images that gets updated every few minutes.
My aim is to download the images over time to get a view of traffic conditions through the day.
Website: CHECKPOINT.SG
Image link, as taken from site source: http://www.checkpoint.sg/sg/2701
I tried... (2 Replies)
Discussion started by: Leion
2 Replies
10. Shell Programming and Scripting
Hi,
I need to download a zip file from my the below US govt link.
https://www.sam.gov/SAMPortal/extractfiledownload?role=WW&version=SAM&filename=SAM_PUBLIC_MONTHLY_20160207.ZIP
I only have wget utility installed on the server.
When I use the below command, I am getting error 403... (2 Replies)
Discussion started by: Prasannag87
2 Replies
LEARN ABOUT DEBIAN
ost_runlist
ost::Runlist(3) Library Functions Manual ost::Runlist(3)
NAME
ost::Runlist -
A runlist is used to restrict concurrent exection to a limited set of concurrent sessions, much like a semaphore.
SYNOPSIS
#include <misc.h>
Inherits ost::Mutex.
Public Member Functions
Runlist (unsigned count=1)
Create a new runlist with a specified limit.
bool add (Runable *run)
Add a runable object to this runlist.
void del (Runable *run)
Remove a runable object from the wait list or notify when it is done running so that the used count can be decremented.
void set (unsigned limit)
Set the limit.
Protected Member Functions
void check (void)
Protected Attributes
unsigned limit
unsigned used
Additional Inherited Members
Detailed Description
A runlist is used to restrict concurrent exection to a limited set of concurrent sessions, much like a semaphore.
However, the runlist differs in that it notifies objects when they become ready to run, rather than requiring them to wait and 'block' for
the semaphore count to become low enough to continue.
Author:
David Sugar dyfet@ostel.com list of runable objects.
Constructor & Destructor Documentation
ost::Runlist::Runlist (unsignedcount = 1)
Create a new runlist with a specified limit. Parameters:
count limit before wait queuing.
Member Function Documentation
bool ost::Runlist::add (Runable *run)
Add a runable object to this runlist. If the number of entries running is below the limit, then add returns true otherwise the entry is
added to the list.
Returns:
true if immediately ready to run
Parameters:
run pointer to runable object.
void ost::Runlist::check (void) [protected]
void ost::Runlist::del (Runable *run)
Remove a runable object from the wait list or notify when it is done running so that the used count can be decremented. Parameters:
run pointer to runable object.
void ost::Runlist::set (unsignedlimit)
Set the limit. Parameters:
limit to use.
Member Data Documentation
unsigned ost::Runlist::limit [protected]
unsigned ost::Runlist::used [protected]
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::Runlist(3)