okay, so the sequence you'd said was required earlier is not what the script you've posted is actually doing. You have them separated into two loops, which is fine, but might be off in terms of timing...maybe you're checking in on the results before the first loop is completed...
Assuming that lame takes your hello.WAV file and outputs it as hello.MP3, try:
Last edited by curleb; 04-06-2010 at 11:06 PM..
Reason: uh-duh...
How do I execute a batch command from a script, which "waits" with the next command until the first one has finished?
=======
A piece of my script looks like this:
#!/bin/sh
(...)
# run a long batch job:
./run_calculation.sh
# then rename resulting file:
mv output.dat backup.dat
(...)
... (7 Replies)
Hi,
When I run the below script in UNIX it's throwing syntax errors. Actually it's a windows batch script. Could anyone change the below Windows Batch script to UNIX shell script...
Script:
REM :: File Name : Refresh_OTL.bat
REM :: Parameters : %1 - Region
REM :: : %2 - Cube Type
REM ::... (5 Replies)
Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below.
I am on a solaris server btw.
Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose.
... (2 Replies)
Can anyone help me with a dos batch script to execute a shell script residing in an unix server. I am not able to use ssh.
Thanks in advance (2 Replies)
while converting batch file to shell script ...dis command is ther i dunno how to change...can anyone knws how to change into shell script
rm !(D:\temp\XX.txt) (3 Replies)
Hi All,
I am working on shell scripting.My script is completed but I have one task that is to trigger the batch script(with or without parameter) from my shell scripting(reside on linux system) and output which is geneareted by the batch should e.g. if batch script creates any files then I want... (5 Replies)
Hi,
I am just trying to convert the batch script to bash script and i am stuck at one point where I have the below code
for /f "delims=" %%a in (a.txt) do (
for /f "tokens=1,2,3* delims==" %%i in ("%%a") do (
for /f "tokens=1,2,3* delims= " %%x in ("%%i") do (
if... (4 Replies)
Hi,
I am a junior dba and started carrier very new. I have a batch file to create some script of db creation. I want that batch file to convert in .sh file so that I can directly run that in the AIX box to generate those files.
Please help me with the code for AIX. Batch file is here:
... (2 Replies)
Hi team,
My requirement is to transfer pdf files from windows machine to unix server and then from that unix server we should sftp to another server.
I have completed the first part i.e From windows to using to unix server with the help of psftp.exe
code:
psftp user@host -pw password <... (1 Reply)
Hi All,
I have a small tool which is currently configured in batch scripts only. But my need is to run it on Linux platform, so I have been trying to convert a batch script to shell script.
below is the batch script:
@echo off
IF "%1"== "" GOTO ARGERR
REM UPDATE THESE PROPERTIES TO... (2 Replies)
Discussion started by: sukhdip
2 Replies
LEARN ABOUT DEBIAN
ripperx
RIPPERX(1) General Commands Manual RIPPERX(1)NAME
ripperX -- graphical (GTK) frontend for ripping and OGG/FLAC/MP3 encoding CD tracks
SYNOPSIS
ripperX
DESCRIPTION
This manual page documents briefly the ripperX command.
This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.
ripperX is an X-based program that uses cdparanoia to convert (i.e. "rip") CD audio tracks to WAV files, and then calls the Vorbis/Ogg
encoder oggenc to convert the WAV to an OGG file. It can also call flac to perform loss-less compression on the WAV file, resulting in a
FLAC file.
Alternately, if you have an MP3 encoder installed such as toolame lame or bladeenc, it can then convert the WAV into a MP3 file.
Besides a nice GUI interface, ripperX also supports CDDB queries to retrieve song and album information, progress meters, and pausing while
ripping.
OPTIONS
This program takes no command line arguments. After starting the application, select the Config button and cycle through the tabs to learn
what options are configurable.
Because Vorbis/Ogg typically uses variable bit rates, there is not a direct correlation between the bitrate selected for encoding and the
rate used by oggenc. The bitrates selected in the MP3 tab of the Configuration dialog are passed to oggenc with the -b switch. Enabling
or disabling VBR when using Vorbis/Ogg has no effect on the encoding process.
The FLAC encoding currently does not accept any bitrate arguments, so any bitrate you specify in the config dialog will be ignored for this
type of encoding.
SEE ALSO
cdparanoia (1).
oggenc (1).
flac (1).
toolame (1).
Documentation in /usr/share/doc/ripperx/
BUGS
Many, to be sure... Please report them as you find them!
AUTHOR
This manual page was written by tony mancill tmancill@debian.org for the Debian GNU/Linux system (but may be used by others).
RIPPERX(1)