Hi people.
I working on a script to check for files that they are suposed not to be on the directory. I mean, inside of each directory it must have some files but some could be wrong, and i want to move the files that are wrong.
Ex:
CSPOTGET edpst/CargadoresSPOT Historicos_Spot_MDI.zip... (4 Replies)
Hello,
I am looking for a way to get the TOTAL COUNT of the files present in all directories(sub directories) under the root directory..The files can be of any type viz. txt, doc, html, wav, jpeg etc. If it has an extension, it has to be counted..
I want to run the script from the root directory.... (6 Replies)
Hey,
I'm very new to AWK and am trying to write a script that counts the number of files in all subdirectories. So, basically, my root has many subdirectories, and each subdirectory has many files.
How can I get the total count? I haven't been able to figure out how to loop through the... (1 Reply)
Hi,
I have a requirement to find out the count of files in directories. I can do this very well by goind to each directory and then ls -lrt | wc -l. But I need to do it for hundreds of directories/sub-directories.
I tried with this -
for i in `ls -F | grep '/$'`; do `echo "$i"`| ls -lrt... (2 Replies)
Hi,
Please help me, how to get all the direcotries, its sub directories and its sub directories recursively, need to exclude all the files in the process.
I wanted to disply using a unix command all the directories recursively excluding files.
I tried 'ls -FR' but that display files as... (3 Replies)
Hi
I have a jfs2 filesystem named /software in my aix 5.3 box.
Please note that there are a lot of subdirectories under /software?
I need to know the count of how many total files and directories are present under that mount point /software ?
For example if by some commands we find that there... (3 Replies)
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
Hi All!
I would like to have a script that will count the number of files at the top of the hour of soome directories and mail the results to me.
I was thinking on :
a=`/directory/subdirectory/ | wc -l`
echo "/directory/subdirectory :$a"
b=`/another_dir/subdir/ | wc -l`
echo... (12 Replies)
Hi All,
Everyday we will receive 33 files in our source directory(/prd/pk) with the current date. Once our jobs are completed all the 33 files immediately will be moved to backup folder (/prd/pk/backup).
Now, I need to check between source file directory (/prd/pdk) and backup file directory... (3 Replies)
hi,
i have a requirement to delete all the files from all the directories except some specific directories like archive and log.
for example:
there are following directories such as
A B C D Archive E Log F
which contains some sub directories and files. The requirement is to delete all the... (7 Replies)
Discussion started by: Little
7 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