Hello,
I have some video files containing numbers and characters . To tell the problem shortly, due to a limitation, I am unable create a playlist regularly changing on a daily basis with the command shuffle....So I decided to rename filenames, just a replacement of first five numbers randomly.
myfiles:
Number creation is okay with above command..
Expected output:
How can I do it? Is there a command to separate numeric / alphanumeric fields ?
i have several thousand files and in subdirs that are named
file.46634.txt
budget.75346.pdf
etc
i want to remove the number but retain the extension.
it is always a 5 digit.
thanks. (6 Replies)
Hi All,
Can you please help me.
The situation is like this. There are many different file name in this directory.
I have to grep all the file that the name start with "PTWO" and rename it to COM with the current date.
This is the script that I have done and it hit an... (16 Replies)
Hi, I am pretty new to this.
I have a condition where in I want to replace all files within a folder. All filenames with character "abc" would need to replaced with "xyz".
eg:
helloabcworld-->helloxyzworld
helloworld-->helloworld
...
...
Thanks in advance. (6 Replies)
In the Directory all the Files are following format.
Filename_yyyymmdd_numbers.txt
eg.
file_name_20120106_015802.txt .
I want to write the Shell script to rename all the file to
file_name.txt.in the directory.
Thanks
Mani (5 Replies)
dear all,
i have .dat files named as:
34.dat
2.dat
16.dat
107.dat
i would like to sort them by their filenames as:
2.dat
16.dat
34.dat
107.dat
i have tried numerous combinations of sort and ls command (in vain) to obtain :
107.dat
16.dat
2.dat
34.dat (1 Reply)
Hi all
Thanks in advance...........
Please help me for this issue............
I have a file it has 11 records . I used the command like ....
>$ wc -l file
11 file
I'm getting output like 11 file (no.of records along with filename)
here my requirement is, I want to display only... (3 Replies)
i have a file called 'test.txt' which contains the below data.
abc123
123445
123abc
23224q
From the above data, i want to display the line which contains only numeric . So i have tried the below commands with sed
sed -n '/^$/p' test.txt
sed '/^$/!d' test.txt
But it... (4 Replies)
Hi,
I have a list of log files as follows:
name_date_0001_ID0.log
name_date_0001_ID2.log
name_date_0001_ID1.log
name_date_0002_ID2.log
name_date_0004_ID0.log
name_date_0005_ID0.log
name_date_0021_ID0.log
name_date_0025_ID0.log
.......................................... (4 Replies)
I am using awk to sum up all amounts and at end print total.
input:
10,250.00
20,103.15
expected output:
30353.15
code:
{subtot=+$1} END{print subtot}
The problem I encounter is it stops at commas and returns 30 as answer
And if I use this code:
{subtot=($1+0);subtot=+$1}... (9 Replies)
Discussion started by: paresh n doshi
9 Replies
LEARN ABOUT DEBIAN
oggz-merge
oggz-merge(1) General Commands Manual oggz-merge(1)NAME
oggz-merge -- Merge Ogg files together, interleaving pages in order of presentation time.
SYNOPSIS
oggz-merge [-o filename | --output filename ] filename ...
oggz-merge [-h | --help ] [-v | --version ]
Description
oggz-merge merges Ogg files together, interleaving pages in order of presentation time. It correctly interprets the granulepos timestamps
of Ogg CELT, CMML, Dirac, FLAC, Kate, PCM, Speex, Theora and Vorbis bitstreams. Run oggz-known-codecs(1) for a full list of codecs known
by the installed version of oggz.
For example, if you have an Ogg Theora video file, and its soundtrack stored separately as an Ogg Speex audio file, and you can use oggz-
merge to create a single Ogg file containing the video and audio, interleaved together in parallel.
Similarly, using oggz-merge on a collection of Ogg Vorbis audio files will create a big Ogg file with all the songs in parallel, ie. inter-
leaved for simultaneous playback. Such a file is proper Ogg, but not "Ogg Vorbis I" -- the Ogg Vorbis I specification defines an Ogg Vorbis
file as an Ogg file containing only one Vorbis track at a time (ie. no parallel multiplexing). Many music players (which use libvorbisfile)
aren't designed to play multitrack Ogg files. In general however, video players, and anything built on a multimedia framework (like
GStreamer, DirectShow etc.) will probably be able to handle such files.
If you want to create a file containing some Ogg files sequenced one after another, then you should simply concatenate them together using
cat. In Ogg this is called "chaining". If you cat Ogg Vorbis I audio files together, then the result will also be a compliant Ogg Vorbis
file.
Options
oggz-merge accepts the following options:
Miscellaneous options
-o filename, --output filename
Write output to the specified filename instead of printing it to standard output.
-h, --help
Display usage information and exit.
-v, --version
Output version information and exit.
EXAMPLES
Merge pages of audio.oga and video.ogv:
oggz merge -o output.ogv audio.oga video.ogv
AUTHOR
Conrad Parker September 21, 2004;
COPYRIGHT
Copyright (C) 2004 CSIRO Australia
SEE ALSO cat(1), oggz-rip(1), oggz-dump(1), oggz-diff(1), hogg(1)oggz-merge(1)