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
DIFFINDEX-DOWNLOAD(1) DIFFINDEX-DOWNLOAD(1)
NAME
diffindex-download - Download utility for Debian Contents files
SYNOPSIS
diffindex-download [ options ] URL filename
DESCRIPTION
diffindex-download is a command line tool for downloading Contents files. It uses APT's diff/Index format patches when available to avoid
downloading the full file. diffindex-download is used by apt-file.
OPTIONS
-n number
If more than number patches would be necessary, download the whole file. Specifying 0 to always download the whole file is possible.
-k Don't verify the peer certificate when using https.
-c cacert
If cacert is a directory: Use cacert as CA certificate path. Otherwise use cacert as CA certificate bundle. See the --capath and
--cacert options in the curl(1) man page.
-i Don't exit with errror if the URL does not exist. This is useful as some archives don't provide Contents files.
-q Be quiet (opposite of -v). The default if stdout is not a terminal.
-v Be verbose (opposite of -q). The default if stdout is a terminal.
-d Print additional debug info.
-h Display a short help screen.
SEE ALSO
apt-file(1), diffindex-rred(1), curl(1)
AUTHOR
diffindex-download was written by Stefan Fritsch <sf@debian.org>.
January 2009 DIFFINDEX-DOWNLOAD(1)