Hi,
By default FIND command searches for matching files in all the subdirectories within the specified path.
Is there a way to restrict FIND command's search path to only the specified directory and NOT TO scan its subdirectories.
Any help would be more than appreciated.
Thanks and Regards (2 Replies)
Hi,
I have a file abcd.txt which has contents in the form of full path file names i.e.
$home> vi abcd.txt
/a/b/c/r1.txt
/q/w/e/r2.txt
/z/x/c/r3.txt
Now I want to retrieve only the directory path name for each row
i.e
/a/b/c/
/q/w/e/
How to get the same through shell script?... (7 Replies)
Hello Folks,
A wrapper takes an argument of file or directory name.
I want to allow paths that reside within the current directory only.
Can simply discard the paths like "/A" & "../" as they go outside the current by looking at the path beginning.
How to validate this one:
A/../../../b... (4 Replies)
If I enter (simplified):
find . -printf "%p\n"
then all files in the output are prepended by a "." like
./local/share/test23.log
How can achieve that
a.) the leading "./" is omitted
and/or
b.) the full path to the current directory is inserted (enclosed by brackets and a blank)... (1 Reply)
Does anyone know of a way to zip the resulting file from a find command?
My approach below finds the file and zips the entire directory path, which is not what I need.
After scanning the web, it seems to be much easier to perform gzip, but unfortunately the approach must use zip.
find `$DIR`... (5 Replies)
I have a script like this running under OS X 10.8. The problem arises when the find command encounters a space in the path name. I need the "dir" variable as I'll be extending the script to more general use.
#!/bin/bash
CFS=$IFS
IFS=$(echo)
set dir = "/Users/apta/Library/Mail\... (3 Replies)
Hello,
i want to script on sh to check from a path if the directory exist and isn't empty.
I explain:
path is : /aaa/bbb/ccc/ccc_name/ddd/
Where the cccc_name is in a list, so i think it's $1
My command
find -name /aaa/bbb/ccc/$1/ddd/ didn't work because my $1 is the same and not... (5 Replies)
Hello,
I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
What is the difference ../directory path and ./directory path in ksh? (1 Reply)
Discussion started by: TestKing
1 Replies
LEARN ABOUT DEBIAN
normalize-mp3
NORMALIZE-MP3(1) General Commands Manual NORMALIZE-MP3(1)NAME
normalize-mp3 - adjust levels of mp3 or ogg files by running normalize-audio(1), then re-encoding
SYNOPSIS
normalize-mp3 [OPTION]... [FILE]...
normalize-ogg [OPTION]... [FILE]...
DESCRIPTION
Normalize volume of mp3 or ogg files by decoding, running normalize, and re-encoding. This requires as much extra disk space as the
largest mp3 or ogg file, decoded. Note that for batch and mix mode, all files must be decoded, so there must be enough disk space for the
decoded copies of all specified mp3 and ogg files.
--ogg Convert files to OGG, regardless of original format
--mp3 Convert files to MP3, regardless of original format
--bitrate BR
Set bitrate of re-encoded file (default 128)
--tmpdir TMP
Put temporary WAV files in temp directory TMP
--notags
Do not copy ID3 or OGG tags to the output file
The following four options may be used to set the encoder and decoder commands for mp3 and ogg vorbis. %m is expanded to the name of the
mp3 or vorbis file, %w expands to the name of the temporary WAV file, and %b expands to the bitrate, as specified by the --bitrate option.
Run normalize-mp3 with no arguments to see the default values.
--mp3encode=X
mp3 encoder
--mp3decode=X
mp3 decoder
--oggencode=X
ogg vorbis encoder
--oggdecode=X
ogg vorbis decoder
-h Display this help and exit.
-V Display version information and exit.
These arguments are passed as arguments to normalize-audio.
Run "normalize-audio --help" for more info.
-a AMP
-g ADJ
-n
-T THR
-b
-m
-v
-q
REPORTING BUGS
Report bugs to <chrisvaill@gmail.com>.
SEE ALSO
The normalize-audio(1) Man page
NOTES
This page was provided by Eduardo Macan <macan@debian.org>
September 2001 NORMALIZE-MP3(1)