10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Need assistance in writing a for loop script or any looping method. Below is the code where i can get all the files from the URL . There are about 80 files in the URL .Every day the files get updated . Script that i wanted is the loop must keep on running till it gets 80 files. It matches the count... (5 Replies)
Discussion started by: ajayram_arya
5 Replies
2. Shell Programming and Scripting
Problem Statement:-
I need to search a particular `String Pattern` in around `10000 files` and find the records which contains that `particular pattern`. I can use `grep` here, but it is taking lots of time.
Below is the command I am using to search a `particular string pattern` after... (3 Replies)
Discussion started by: raihan26
3 Replies
3. UNIX for Advanced & Expert Users
Hi
this is my SQL script
$ wc -l insert_into_customers.sql
85601 insert_into_customers.sqlI wish to cut this file into 9 files each 10000 lines (the last one less)
$ wc -l insert_into_customers_00*.sql
10000 insert_into_customers_001.sql
10000 insert_into_customers_002.sql
... (1 Reply)
Discussion started by: slashdotweenie
1 Replies
4. UNIX for Dummies Questions & Answers
Hi Guys,
First post! I've seen a few options but dont know the most efficient:
I have a directory with a 150,000+ text files in it
I want to merge them into files contain 10,000 files with a carriage return in between.
Thanks
P
The following is an example but doesnt limit the... (2 Replies)
Discussion started by: peh
2 Replies
5. Red Hat
Hi All
I m using squid 2.7 Stable 9 and Dansguardian 2.10.1.1, i have compiled both squid and dansguardian, i have enabled follow_x_forwarded_for in squid to make clients IPs visible to squid, i have also set x_forwarded_for=on in dansguardian, this is working fine and clients ips are visible to... (1 Reply)
Discussion started by: surfer24
1 Replies
6. Shell Programming and Scripting
I am doing an ftp of around 1010 files and I am using mput for this. For some reason its only transferring 10 or 20 files and the rest are
not getting transferred. There is some socket error in the log. is there an issue if we have more than 50 or so files for mput.
here is the o/p in the log... (2 Replies)
Discussion started by: dsravan
2 Replies
7. Shell Programming and Scripting
All,
i need a script which can zip the all files which are in directories and its subdirectories
for example:
dir1 contains file1,file2,dir1a,dir1b
now dir1a also contains fil11,fil12 ,dirab
so script should look for files in dir or sub dir till files not found and... (2 Replies)
Discussion started by: vijays3
2 Replies
8. Shell Programming and Scripting
Dear All
I have a file like this
112534554
446538656
444695656
225696966
226569744
228787874
113536566
443533535
222564552
115464656
225445345
225533234
I want to cut the file into different parts where the first two columns are '11' . The first two columns will be either... (3 Replies)
Discussion started by: anoopvraj
3 Replies
9. Linux
hi dears
1) i am using squid proxy for internet sharing .. how can i allow users to download files of specific size say only 5 Mb how allow through squid..
2) i want to trace all the user with system ip and system id (name)
what are sites they are visited and how much MB they are user
... (2 Replies)
Discussion started by: surfer24
2 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I need your help.
Suppose I have a directory called /home/rooh
This directory contains files and directories.
For ex
drwxr-xr-x 3 rooha arboradm 96 Apr 6 03:24 batches
drwxr-xr-x 2 rooha arboradm 96 Apr 6 03:21 worker
-rw-rw-rw- 1 rooha arboradm ... (1 Reply)
Discussion started by: rooh
1 Replies
CURLOPT_MAXFILESIZE_LARGE(3) curl_easy_setopt options CURLOPT_MAXFILESIZE_LARGE(3)
NAME
CURLOPT_MAXFILESIZE_LARGE - maximum file size allowed to download
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_MAXFILESIZE_LARGE,
curl_off_t size);
DESCRIPTION
Pass a curl_off_t as parameter. This allows you to specify the maximum size (in bytes) of a file to download. If the file requested is
found larger than this value, the transfer will not start and CURLE_FILESIZE_EXCEEDED will be returned.
The file size is not always known prior to download, and for such files this option has no effect even if the file transfer ends up being
larger than this given limit. This concerns both FTP and HTTP transfers.
DEFAULT
None
PROTOCOLS
FTP and HTTP
EXAMPLE
TODO
AVAILABILITY
Added in 7.11.0
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO
CURLOPT_MAXFILESIZE(3), CURLOPT_MAX_RECV_SPEED_LARGE(3),
libcurl 7.54.0 February 03, 2016 CURLOPT_MAXFILESIZE_LARGE(3)