09-05-2015
Any attempts from your side?
---------- Post updated at 23:46 ---------- Previous update was at 23:43 ----------
Am I correctly assuming OVLAN in file2 is the first part of the last field?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
There is a text file that contains the data in the following format:
COLUMN1 COLUMN2
ABC 1
ABC 2
ABC 3
DEF 4
DEF 5
XYZ 7
We have to create a second text file... (4 Replies)
Discussion started by: raina_nalin
4 Replies
2. UNIX for Dummies Questions & Answers
Hi,
how to read the 2 files and compare each other in shell script? i have 2 files test1 and test2, both files contains 20 character records.we have to compare file 1 records with file2, if exists then reject the record else we have to append it to test2 file. in file test1 around 100 single... (2 Replies)
Discussion started by: prashanth.spl
2 Replies
3. Shell Programming and Scripting
hi experts
please help me to compare two files which are in different directory
file1<file will be master file>
(/home/rev/mas.txt}
ex x1
x2
file2 <will be in different folder>
(/home/rev/per/.....)
ex x3
x4
the filesinside per folder i need to compare with master file and the files... (2 Replies)
Discussion started by: revenna
2 Replies
4. Shell Programming and Scripting
Hi All,
I am writing a shell script to print all the files in a particular folder.
This script is on solaris server .
I am using the lp command to send the requests .
lp -d printername filename .
The output I get is the request id.
Is there any way I can use the request Id to determine if... (1 Reply)
Discussion started by: shahshilpa
1 Replies
5. Shell Programming and Scripting
Hi,
Below is my issue which I desperately need and I want a shell script which can do this job.
I need this script as I m planning to put this for a system health check. Please assist me.
1. There are 10 log files in a particular location.
2. open each log file. Goto to the end of the... (4 Replies)
Discussion started by: kashriram
4 Replies
6. Shell Programming and Scripting
I have 2 files
config1h.txt
-----------------
BFMU=ENABLE,ID=PM
THR=OFF,REP=ALL,CON=IACM,TIM=OFF;GPON collection strategy
1.3.6.1.2.1.2.2:8
1.3.6.1.2.1.2.2:7
1.3.6.1.4.1.637.61.1.35.11.4:4
1.3.6.1.4.1.637.61.1.35.11.4:3
1.3.6.1.4.1.637.61.1.35.10.1:2
1.3.6.1.4.1.637.61.1.35.10.1:43... (7 Replies)
Discussion started by: LavanyaP
7 Replies
7. Shell Programming and Scripting
Hi Experts,
I have 2 files 1 file consists of 800 records and 2 file consists of 100 records with matching column as Membership_Num.So i need a script which will compare the 2 files and displays the output.As these are the files the script should take any delimter like (tab,comma) as input... (6 Replies)
Discussion started by: naveen.dasu
6 Replies
8. Shell Programming and Scripting
Hi,
I have 2 files as below
FILE1.dat
co1|co2|co3
abnd|45.56|AZ
dkny|30.2|PA
sam|.23|VA
FILE.CTL
FILENAME|FILE1.dat
NO OF RECORDS|3
CHECKSUM|75.99
Could you please help me to write a shell script to compare
1. TOTAL RECORDS from FILE1.dat with NO of RECORDS in FILE.CTL
2.... (8 Replies)
Discussion started by: dreamsportsteam
8 Replies
9. Shell Programming and Scripting
Hi All,
I have 2 files like below
vi f1
frog
elephant
rabit
zebra
dog
vi f2
rabit
dog
==============
Now i want to comapre two files and the result will be
frog (8 Replies)
Discussion started by: kumar85shiv
8 Replies
FAPG(1) User Manuals FAPG(1)
NAME
fapg - Fast Audio Playlist Generator
SYNOPSIS
fapg [ options ] /path/to/mp3/dir1 [ /path/to/mp3/dir2 ... ]
DESCRIPTION
fapg is a tool to generate list of audio files (Wav, MP2, MP3, Ogg, etc) in various formats (M3U, PLS, XSPF, HTML, RSS, etc). It is very
useful if you have a large amount of audio files and you want to quickly and frequently build a playlist.
It is coded in C to be as fast as possible, and does not use any specific audio library (like ID3Lib). This allow you to deploy it faster
and easier, and to have better performances since the less informations are loaded. On the other hand, this tool is not (yet) compatible
with all the known formats.
OPTIONS
-b|--backslash
Replace the '/' with '' in Unix path.
-d|--debug
Display useful messages if the program fails ;)
-f|--format=m3u|pls|xspf|html|rss|pla|txx
Choose which format of playlist you want to generate (default is m3u).
-g|--genre=#:#:...
Choose which genres (numerical values only) will be included in the generated playlist (default is all).
-n|--nohardlink
Avoid to parse twice the files because of hardlinks.
-o|--output=/path/to/file.m3u
Choose the name of the playlist file to generate (default behavior is to display on standard output).
-p|--prefix=/the/prefix
Replace the Unix path with another string (useful to give a Samba path for example).
-r|--recursive
Recursively read the subdirectories.
-w|--windows
Replace all Unix characters with Windows characters.
-x|--exclude=#:#:...
Choose which genres (numerical values only) will be excluded in the generated playlist (default is none).
-c|--command=<intern|...>
External binary or script that produces additional fields for RSS feeds (slow).
-s|--stdin
Read filenames and/or directories from standard input instead of command line.
EXAMPLES
Generate a PLS playlist for an album: fapg --format=pls --output=~/path/to/album/list.pls ~/path/to/album
You have a file server using Samba which shares a large amount of audio files for Windows powered computers using Winamp. The directory on
the server containing the files is /samba/mp3 and is visible on the Windows network as \servermp3 : cd /samba/mp3 && fapg --backslash
--output=/samba/mp3/list.m3u --prefix='\servermp3' --recursive --windows ./
An HTML playlist for an album: fapg --output=fapg.html ~/path/to/album
A playlist that contains all your classical tracks may receive the genres to include (or exclude) in one or multiple portions fapg
--genre=32:105 --genre=106:104:103 /path/to/all/music
Generate a podcasting XML file using an external program rss.sh to generate a detailed description: fapg --output=dir.xml -f rss -c
/usr/local/bin/rss.sh -r --prefix=http://thisserver/basedir path/to/mp3
Generate a playlist that will work on a Sansa e200 series MP3 player: fapg -f pla -o /path/to/playlist.pla /path/to/all/music
if command starts with intern the build-in description (Author,Title,Link) is generated. Please note that in all given directories ( and
in ...basedir/xml ) files called podcast.jpg are referenced. Many header fields are set to defaults using environment variables like LOG-
NAME or LANG.
AUTHOR
Antoine Jacquet <royale@zerezo.com>, http://royale.zerezo.com/fapg/. Manpage by Thomas Kappler <thomas.kappler@stud.uni-karlsruhe.de>.
Linux JANUARY 2007 FAPG(1)