Sorry, copy/paste error.  I've corrected above.

You can use the construct:


Code:
--------------------
    2> $errfile > $outfile
--------------------


to output STDERR to the file defined in $errfile and STDOUT in
$outfile.  Setting $errfile to /dev/null will toss errors.  So you can
achieve the same results by ended your find command with:


Code:
--------------------
    ... 2> /dev/null >> "$szErrFile"
--------------------


Knowing this allows you to produce the same redirection for any
command, including those that do not have options such as flac's
--totally-silent.  There are many redirection variants.  See
REDIRECTION in man bash.


-- 
MrC
------------------------------------------------------------------------
MrC's Profile: http://forums.slimdevices.com/member.php?userid=468
View this thread: http://forums.slimdevices.com/showthread.php?t=60307

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to