05-06-2009
Hi Monkey_dean,
Is it the file names which will have the dates like this ?
1987.abc.mov
2008.abc.mov
2009.abc.mov
or the content of the file will hav these data ?..
In the first case ... Is this file names are havng uniq syntax ( i mean date.abc.mov ) ?..always
or any where in the file name date hav to delete ?..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Guru's,
I need to create 3 files with the contents "ABC" using single command.
Iam using:
echo "ABC" > file1.txt file2.txt file3.txt
the above command is not working. pls help me...
With Regards / Ganapati (4 Replies)
Discussion started by: ganapati
4 Replies
2. UNIX for Dummies Questions & Answers
I have a diff command that does what I want but when comparing large text/log files, it uses up all the memory I have (sometimes over 8gig of memory)
diff file1.txt file2.txt | grep '^<'| awk '{$1="";print $0}' | sed 's/^ *//'
Is there a better more efficient way to find the lines in one file... (5 Replies)
Discussion started by: raptor25
5 Replies
3. Shell Programming and Scripting
This is appending a column.
My question is fairly simple. I have a program generating data in a form like so:
1 20
2 22
3 23
4 12
5 43
For ever iteration I'm generating this data. I have the basic idea with cut -f 2 fileA.txt | paste -d >> FileB.txt ???? I want FileB.txt to grow, and... (4 Replies)
Discussion started by: theawknewbie
4 Replies
4. Shell Programming and Scripting
So I have a python program that I run, which runs accordingly to options I have listed in a text file (ie user_prefs). Now there are many options listed in this user_prefs.txt, but the one of most interest to me is that of the file path of the time series.
I have over a hundred of these time... (8 Replies)
Discussion started by: Jimmyd24
8 Replies
5. Shell Programming and Scripting
Hi,
I`m a total newbie, well my requirement is that i have 2 files
I want to identify which countries i do not currently have in db..
how can i use the grep or another command to find this file ..
i want to match all-countries.txt with countries-in-db.txt so the output is equal to... (11 Replies)
Discussion started by: beanbaby
11 Replies
6. OS X (Apple)
I have two Macs running 10.7.5.
We download .txt files from remote site to these local Macs using 'rsync -e ssh -avz...'.
The files on Mac1 are in the required format of pure UTF-8. The files on Mac2 are in UTF-8 (no BOM) which is wrong format for us; these formats are indicated using BBEdit.... (1 Reply)
Discussion started by: sovdia
1 Replies
7. Shell Programming and Scripting
I want to add/append the info in the following format to my.txt file.
20130702|abcd20130702.txt FN|SN|DOB
I tried the below script but it throws me some exceptions.
<#!/bin/sh
dt = date '+%y%m%d'members;
echo $dt+|+members+$dt;
/usr/bin/awk -f
BEGIN { FS="|"; OFS="|"; } { print... (6 Replies)
Discussion started by: harik1982
6 Replies
8. Shell Programming and Scripting
Dear all,
I have a huge txt file (DATA.txt) with the following content . From this txt file, I want the following output using some shell script.
Any help is greatly appreciated.
Greetings,
emily
DATA.txt (snippet of the huge text file)
407202849... (2 Replies)
Discussion started by: emily
2 Replies
9. UNIX for Dummies Questions & Answers
just discover this thread. It sounds perfect for me because I am following an online course on command line tools and some instruction ... seems not be replicable on my Terminal
Here is an example on a txt file with n rows each containing 3 word separated by a space.
a b c
d e f
....
... (5 Replies)
Discussion started by: mrMe
5 Replies
10. Shell Programming and Scripting
Hi dears
i have text file like this:
INPUT.txt
001_1_173 j nuh ]az
001_1_174 j ]esma. nuh ]/.xori
.
.
. and have another text
like this
TABLE.txt
j j
nuh word1... (6 Replies)
Discussion started by: alii
6 Replies
LEARN ABOUT MOJAVE
qtmodernizer
qtmodernizer(1) BSD General Commands Manual qtmodernizer(1)
NAME
qtmodernizer
-- Tool to convert legacy movies to modern format with minimal changes.
SYNOPSIS
qtmodernizer [options ...] pathToSource [pathToDestination]
DESCRIPTION
qtmodernizer is a command line tool to examine a media file which may be in a legacy format or may contain legacy media tracks. In this case
a legacy format is one which cannot be read directly by CoreMedia or AVFoundation frameworks.
qtmodernizer examines all the tracks to determine if they are all in a form that can currently be played. If all tracks are playable and the
format is readable, qtmodernizer does returns and does nothing. If any of the audio or video tracks are encoded with a codec that CoreMedia
does not support, that track will be converted to a modern format, usually H.264 for video and AAC for audio (see --useprores for other
choices).
Command line options of qtmodernizer:
-h | --help
-p | --useprores
If -p or --useprores is specified, qtmodernizer will use the ProRes video codec and LPCM audio codec instead of H.264 and AAC-LC.
For video tracks it will produce AppleProRes422. For audio it will produce uncompressed output (lpcm). Tracks outher than audio or
video are not re-encoded and will not be affected. Either AppleProRes422 may be chosen or the AppleProRes4444 option may be chosen
but not both.
-p4 | --useprores4444
If -p4 or --useprores4444 is specified, qtmodernizer will use the ProRes4444 video codec and LPCM audio codec instead of H.264 and
AAC-LC. For video tracks it will produce AppleProRes4444. For audio it will produce uncompressed output (lpcm). Tracks outher than
audio or video are not re-encoded and will not be affected. Either AppleProRes4444 may be chosen or the AppleProRes422 option may be
chosen but not both.
-r | --replace
Normally qtmodernizer will not replace any existing files. If --replace is specified, a file already existing at the destination
path will be replaced by the new output. qtmodernizer will not replace the file at original source path used in the command.
-v | --verbose
Normally qtmodernizer only displays important error or warning messages. Specifying --verbose causes other information about the
modernization to be displayed on the command line. --infoonly implies --verbose.
-i | --infoonly
Causes qtmodernizer to display information about the tracks contained in the source file and what the modernization process would be
for each track (if any) but does not actually produce an output file.
EXAMPLES
qtmodernizer legacy_movie.mov modern_movie.mov
Each legacy audio and video track would be re-encoded to a modern (H.264 or AAC) track with other tracks passed through. The resulting movie
is saved as modern_movie.mov
qtmodernizer -p legacy_movie.mov modern_movie.mov
Legacy audio and video tracks would be re-encoded like in the above example but the resulting codecs would be ProRes for video and LPCM for
audio
qtmodernizer ~/Movies/legacy_movie.mov
This command will create a modernized movie in the ~/Movies directory named "legacy_movie-modernized.mov"
HISTORY
qtmodernizer command first appeared in Mac OS X 10.9.
Mac OS X May 31, 2019 Mac OS X