10-22-2008
thnaks
thank buddy u r great
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Is there any way to get count number of lines in all files which have more than o bytes in current directory
for example :
in /user/sri/ there are 3 files
abc 0 bytes
def 5 bytes
ghi 10 bytes
i need to get wc -l for all files which have > 0 bytes at a time ..is... (6 Replies)
Discussion started by: sri2005
6 Replies
2. UNIX for Dummies Questions & Answers
hi
i am pretty new to unix .i am ETL guy
I need a unix script to take row count of a file and write it to another file
the problem with wc-l is it include filename also
wc -l abc.dat
will give me like 1000 abc.dat
i just want 1000 to be written
can u just take 2 min to write a simple... (1 Reply)
Discussion started by: er_zeeshan05
1 Replies
3. Shell Programming and Scripting
hi all
plz some unix guy help me in this
i have 60 files which will have some records
i want to find the total number of records in all the 60 files
like file1 has 60 and file2 has 70 record
i want to sum all these and find total row count in 60 files (5 Replies)
Discussion started by: er_zeeshan05
5 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have some data files in a zipped format.(eg: aa.gz).I would like to know the number or rows in each zip file(May be populate the file name and line numbers into a text file).I know the commands wc -l and gunzip,.But how I will create a shell script for this to extract each files and get... (5 Replies)
Discussion started by: abhilash_menon
5 Replies
5. Shell Programming and Scripting
I have a sorted file like:
Apple 3
Apple 5
Apple 8
Banana 2
Banana 3
Grape 31
Orange 7
Orange 13
I'd like to search $1 and if $1 is not the same as $1 in the previous row print that row and print the number of times $1 was found.
so the output would look like:
Apple 8 3
Banana... (2 Replies)
Discussion started by: dcfargo
2 Replies
6. Shell Programming and Scripting
I have a file containing about 5 million rows, in the file there are some records which has extra delimiter at random position. (we dont know the positions), now we have to Count the delimeter from each row and if the count of delimeter is not matching then I want to delete those rows from the... (5 Replies)
Discussion started by: Akumar1
5 Replies
7. Shell Programming and Scripting
I have . dat file which contains data in a specific format:
0 3 892 921 342
1 3 921 342 543
2 4 817 562 718 765
3 3 819 562 717 761
i need to compare each field in a row with another field of the same column but different row and cont the... (8 Replies)
Discussion started by: Abhik
8 Replies
8. Shell Programming and Scripting
This is the source file, we called it errorlist.out
196 server_a server_unix_2 CD
196 server_b server_win_1 CD
196 server_c server_win_2 CD
196 server_bd server_unix_2 CD
196 server_d server_unix_2 CD
196 server_es server_win_1 CD
196 ... (14 Replies)
Discussion started by: sQew
14 Replies
9. UNIX for Advanced & Expert Users
Hi,
I want a row count of a file incliding header and trailer
If I do cat Filename | wc -l
then I am only getting the row count excluding the header and trailer
Buit I want the row count including Header and trailer
Please help
Many thanks in advance,
Pragyan (3 Replies)
Discussion started by: prarat
3 Replies
10. Shell Programming and Scripting
Hi,
I have to find the count of rows starting with "E," in given a.csv file .
Sample Data File.
E,2333AED,A,MC3,25,31-MAY-18
E,2333AED,A,MC3,25,31-MAY-18
CYMC3 25AED 0000
E,2333CZK,A,MC3,25,31-MAY-18
CYMC3 25CZK 0000
E,2333EUR,A,MC3,25,31-MAY-18... (3 Replies)
Discussion started by: Prabhakar Y
3 Replies
LEARN ABOUT DEBIAN
muscan
MUSCAN(1) Museek Daemon Plus MUSCAN(1)
NAME
Muscan - File scanner for Museek
SYNOPSIS
muscan [-c <filename>] [--config <filename>] [-b] [--buddy] [-v] [--verbose] [-r] [--rescan] [-n] [--noscan] [-s <directory>] [--share
<directory>] [-u <directory>] [--unshare <directory>] [-l] [--list] [-h] [--help]
DESCRIPTION
Muscan scans paths & files to be shared by museekd(1). It creates a database of files, with meta-data for MP3 and OGG Vorbis files, if Vor-
bis support was compiled in. There are two available shares databases, Normal and Buddies-Only. Buddies-Only is an optional shares database
that, if enabled, is only accessible by the users you've chosen as "Buddies".
Before running muscan, you will need a configured museekd, which can be done with musetup(1) or fI>musetup-gtk(1), and add some shared
paths with either of the setup tools or with muscan(1).
OPTIONS
Muscan accepts the following options:
-c <filename>, --config <filename>
Use a different config file.
-b, --buddy
Select Buddy-Only Shares.
-s <directory>, --share <directory>
Add directory to shares.
-u <directory>, --unshare <directory>
Remove directory from shares.
-r, --rescan
Rescan shares.
-n, --noscan
Do not rescan shares.
-v, --verbose
Be verbose while scanning shares.
-l, --list
Display list of shared directories.
-h, --help
Display Help, version and exit.
EXAMPLE
To run a quick shares update, run:
muscan or muscan -b
To rescan everything, run:
muscan -r or muscan -b -r
Alternatively you use a different config file with:
muscan --config config.xml
FILES
~/.museekd/config.xml
The default location for the museekd config file.
~/.museekd/config.shares
The default location for the Normal shares database.
~/.museekd/config.shares.state
The default location for the active Normal shares database.
~/.museekd/config.buddyshares
The default location for the Buddy shares database.
~/.museekd/config.buddyshares.state
The default location for the active Buddy shares database's.
AUTHORS
Hyriand <hyriand@thegraveyard.org>
daelstorm <daelstorm@gmail.com>
SEE ALSO
mucous(1) mulog(1) murmur(1) muscand(1) museekcontrol(1) museekd(1) museeq(1) musetup(1) musetup-gtk(1)
daelstorm Release 0.2.0 MUSCAN(1)