i am very new to UNIX
plz help me in this scenario
i have two text files as below
file1.txt
name=Rajakumar.
Discipline=Electronics and communication.
Designation=software Engineer.
file2.txt
name=Kannan.
Discipline=Mechanical.
Designation=CADD Design Engineer.
... (6 Replies)
Hi Guys,
I am trying to write a perl script to search a string "Name" in the file "FILE" and also want to create a new file and push the searched string Name line along with 10 lines following the same.
can anyone of you please let me know how to go about it ? (8 Replies)
Hi Guys
I am facing a problem:wall:
In searching a string in a file and to add another string(ie. passed through command line argument) just after this(searched) string in new line.
Thanks (2 Replies)
I have 2 files that I am working with
$ cat file1
server1
server3
server5
server6
server8
$ cat file2
server1;Solaris;
server2; SLES;
server3;Linux;
server4; Solaris;
server5;SLES;
server6;SLES;
server7;Solaris;
server8;Linux; (1 Reply)
I am having a text file which is having more than 200 lines.
EX:
001010122 12000 BIB 12000 11200 1200003
001010122 2000 AND 12000 11200 1200003
001010122 12000 KVB 12000 11200 1200003
In the above file i want to search for string KVB and add/replace... (1 Reply)
Hi,
Need your help for this scripting issue I have. I am not really good at this, so seeking your help.
I have a file looking similar to this:
Hello, i am human and name=ABCD.
How are you?
Hello, i am human and name=PQRS.
I am good.
Hello, i am human and name=ABCD.
Good bye.
Hello, i... (12 Replies)
Hi,
I have a file which is an extract of jil codes of all autosys jobs in our server.
Sample jil code:
**************************
permission:gx,wx
date_conditions:yes
days_of_week:all
start_times:"05:00"
condition: notrunning(appDev#box#ProductLoad)... (1 Reply)
Hi Everyone,
I have a requirement in ksh where i have a set of files in a directory. I need to search each and every file if a particular string is present in the file, delete that line and replace that line with another string expression in the same file.
I am very new to unix. Kindly help... (10 Replies)
I want to search a small string in a large string and find the locations of the string. For this I used grep "string" -ob <file name where the large string is stored>. Now this gives me the locations of that string. Now how do I store these locations in a text file.
Please use CODE tags as... (7 Replies)
Discussion started by: ANKIT ROY
7 Replies
LEARN ABOUT DEBIAN
oggthumb
OGGTHUMB(1) User Manuals OGGTHUMB(1)NAME
oggThumb - creates thumbnails from an ogg video file
SYNOPSIS
oggThumb [options] file1.ogv [ file2.ogv [ file3.ogv [...] ] ]
DESCRIPTION
oggThumb creates Thumbnails from one or more ogg video files, at a given time position or a given frame number. It is also possible to cre-
ate a series of thumbnails at different time or frame positions. The pictures can be created in JPG or PNG format and can be resized to any
given size.
The default naming of each thumbnail series follows the following rule:
<filename_without_extension>_x.<picture_extension>
Where x starts with 0 and is incremented with every created thumbnail. So the thumbnails are successivly numbered by the appearence order.
This is even valid, if time positions and frame numbers are mixed.
OPTIONS -t Time at which a thumbnail should be created. More than one thumbnail time can be concatenated by commas. The times can be set by
integer or floating point values in seconds. If the time is not exactly matching, the next frame is used. The times don't have to be
sorted incrementally.
Example: -t 12.4,14.157,13.23
-f Number of a frame that should be created as a thumbnail. More than one thumbnail frame can be concatenated by commas. The frame num-
bers must be an integers. The frame numbers don't have to be sorted incrementally.
Example: -f 12000,13000,11000
-s Picture output size. The thumbnail is created in the size given as <width>x<height>. If you want to include the thumbnails into
your webpage and you need to have a fixed width but dynamic height, you can set the dynamic axis to 0. So the aspect ratio of the
video frame is kept. This is the same for setting width or height to 0.
Example: -s 0x100
-o Output format. This can be png or jpg. The default is jpg.
Example: -o png
-n Alternative thumbnail picture name. The % can be used within the name to indicate the counter placeholder.
In case of more than one video file, the counter continuous throughout the different videos, so that the pictures are not overwrit-
ten.
If the name has an extension. This extension is used to identify the output picture format.
Example: -n myNo_%_thumb
EXAMPLE
oggThumb -t 10.3,22.4,31.9,43.4,59.4 -f 1200 -s 0x100 myFile.ogv
oggThumb -f 200,400,300,100 -t 3.54 -n %_thumb.png myfile.ogv mysecondfile.ogv
AUTHOR
Joern Seger <yorn at gmx dot net>
SEE ALSO oggCut(1), oggCat(1), oggJoin(1), oggSplit(1), oggTranscode(1), oggSlideshow(1), oggSilence(1)Linux JAN 2010 OGGTHUMB(1)