Hi,
I need to extract only a part of the filenames of some files. The files are named this way :
.tap_profile_SIT02
I want the "SIT02" part, which is not the same for each file. I was able to get what I want with bash, but not with ksh. Here is the command I used in bash :
find... (8 Replies)
Hi, i have a filename CRED20102009.txt in a server
20102009 is the date of the file ddmmaaaa format
the complete route is
/dprod/informatica/Fuentes/CRED20102009.csv
i want to extract the date to create a new file named Parameters.txt
I need to create Parameters.txt with this... (6 Replies)
I have lots of files in this format:
dvgrab-2003.06.29_15-30-24.mpg
The numbers represents the date and time (YYYY.MM.DD_HH-MM-SS)
How can I extract the dates from the filenames, and use the dates in the file timestamp?
I guess this can be done by using "find", "sed" and "touch"?
Can... (6 Replies)
Hi All,
I'm trying to get part of a filename and my skill with regular expression are lacking. I know I need to use SED but have no idea how to use it. I'm hoping that someone can help me out. The file names would be:
prefix<partwewant>suffix.extension
the prefix and suffix are always 3... (4 Replies)
Hi All,
Thanks in Advance
I am working on a shell script. I need some assistance.
My Requirement:
1) There are some set of files in a directory like given below
OTP_UFSC_20120530000000_acc.csv
OTP_UFSC_20120530000000_faf.csv
OTP_UFSC_20120530000000_prom.csv... (0 Replies)
Hi All,
Thanks in Advance
I am working on a shell script. I need some assistance.
My code:
if
then
set "subscriber" "promplan" "mapping" "dedicatedaccount" "faflistSub" "faflistAcc" "accumulator"\
"pam_account";
for i in 1 2 3 4 5 6 7 8;... (0 Replies)
Hi All,
Thanks in Advance
Shell Script or Perl Script
I am working on a shell script. I need some assistance.
My Requirement:
1) There are some set of files in a directory like given below
OTP_UFSC_20120530000000_acc.csv
OTP_UFSC_20120530000000_faf.csv... (7 Replies)
Hi,
I am writing an ebuild for Gentoo Linux operating system.
Writing an ebuild is about Bash scripting where I am a newbie.
So, my ebuild must find a part of a specific filename.
Such a filaname my look like this:
libvclient_release_x64.so.740and I must to find the number at the and of... (18 Replies)
Hi,
I'm totally new in sell script and working with a shell code. I want to extract the date and time from the filenames. The filenames are different but all of them begins with WI_ SCOPE_:
WI_SCOPE_DATA_CHANGE_2017-09-12_15-30-40.txt
WI_SCOPE_BACK_COMPLETE_QUEUE_2017-09-12_15-31-40.txt... (5 Replies)
Hi,
I am facing one scenario in which I need to extract exact position of date and time from the name of the files. For example, Below is the record in which I need to extract position of YYYYMMDD,HHMISS and YYMMDD. Date and time variables can come more than once. I need to use these position... (13 Replies)
Discussion started by: Prathmesh
13 Replies
LEARN ABOUT DEBIAN
ogmdemux
OGMDEMUX(1) User Commands OGMDEMUX(1)NAME
ogmdemux - Extract streams from OGG/OGM files into separate files
SYNOPSIS
ogmdemux [options] inname
DESCRIPTION
This program extracts all or only some streams from an OGM and writes them to separate files.
inname Use 'inname' as the source.
-o, --output out
Use 'out' as the base for destination file names. '-v1', '-v2', '-a1', '-t1'... will be appended to this name. Default: use
'inname'.
-a, --astream n
Extract specified audio stream. Can be used more than once. Default: extract all streams.
-d, --vstream n
Extract specified video stream. Can be used more than once. Default: extract all streams.
-t, --tstream n
Extract specified text stream. Can be used more than once. Default: extract all streams.
-na, --noaudio
Don't extract any audio streams.
-nv, --novideo
Don't extract any video streams.
-nt, --notext
Don't extract any text streams. Default: extract all streams.
-r, --raw
Extract the raw streams only. Default: extract to useful formats (AVI, WAV, OGG, SRT...).
-v, --verbose
Increase verbosity.
-h, --help
Show this help.
-V, --version
Show version number.
NOTES
What works:
* Extraction of the following formats is fully supported including writing the stream contents to useful container formats:
video -> AVI
Vorbis -> OGG/Vorbis
PCM -> WAV
text -> text files (SRT subtitle format)
* All other audio streams (MP3, AC3) are just copied 1:1 into output files. MP3 and AC3 files should be usable. Others might not.
What not works:
* Headers created by older OggDS (DirectShow) filter versions are not supported (and probably never will be).
AUTHOR
ogmdemux was written by Moritz Bunkus <moritz@bunkus.org>.
SEE ALSO ogmmerge(1), ogmsplit(1), ogminfo(1), ogmcat(1), dvdxchap(1)WWW
The newest version can always be found at <http://www.bunkus.org/videotools/ogmtools/> <http://www.bunkus.org/videotools/ogmtools/>
ogmdemux v1.5 November 2004 OGMDEMUX(1)