Personally, I'm thinking that the use of lame, Audacity and whether they're mp3 files is irrelevant to your problem. How about posting the stricken script so that someone can review/correct the loop that's misbehaving...?
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
tagmp3
tagmp3(1) User manual tagmp3(1)NAME
tagmp3 - manipulate ID3v1 tags
SYNOPSIS
tagmp3 [ -n ] mode [ format ] [ file ] ...
DESCRIPTION
tagmp3 allows you to set and remove ID3v1 tags from mp3 files. Additionaly move mode can be used to move mp3 files according to their ID3v1
tag. An ID3v1 tag is a chunk of extra informations such as artist name, album and genre. ID3v1 tags are displayed by most mp3 players.
MODE
show show file's ID3v1 tag.
set sets file's ID3v1 tag according to format.
move move file to a destination based on FORMAT.
del remove file's ID3v1 tag if any.
list displays numeric music genres along with their meaning.
-h print a (not so) short help message.
-v print version and exit.
OPTIONS -n Show what will be done, don't alter any file.
FORMAT STRING
The format string is a character string composed of zero or more directives: ordinary characters (not %), which are not interpreted and
conversion specifications, each of which results in the corresponding ID3v1 tag field substitution. Each conversion specification is
introduced by the character %. The following lines describes each conversion specification along with its associated ID3v1 field. Special
sequence %% is substituted with a single %.
%A Artist Name
%a Album Name
%t Song Title
%T Track Number
%y Year
%g Genre
%c Comments
format string for set mode
For set mode the format string is a list of ID3v1 fields followed by a ':' (next chars are the field value) or a '?' (ask user for field
value)
example: tagmp3 set "%A:Pink Floyd %a:The Wall %t? %T?" *.mp3
For each mp3 of this directory, sets the artist name to Pink Floyd and the album to The Wall. For each file ask for the title and
the track number. Leave the other fields untouched. Be aware that genre field require a numeric value. Known genres can be dis-
played with the list mode.
format string for move mode
The format string is the destination path where each field identifier is substituted with the tag value.
example: tagmp3 move "/home/foo/mp3/%A/%a/%T-%t.mp3" *.mp3
with the set example above will move all mp3 to "/home/foo/mp3/Pink Floyd/The Wall/{track}-{title}.mp3"
If you prefer the "flat" naming scheme, you will use something like
tagmp3 move "%A-%t.mp3" *.mp3
NOTES
move mode never overwrite files.
move mode creates intermediate directories specified in the format string. Each directory creation is to be confirmed by the user.
ID3v2 tags are not supported so far.
If a file can't be moved ( wrong file type, ID3v1 tag absent or blank field , ...) then it is left untouched.
Fake mp3 (i.e. Wave file with .mp3 extension) are moved into "fake-mp3/" directory in move mode. set mode refuses to tag them since this
would add noisy artifact at the end of the song.
BUGS
Plenty of :)
For move mode, source and destination must reside on the same file system / partition.
AUTHOR
Laurent Alacoque <laureck@users.sourceforge.net> CopyLeft 2001
Bugs, patch, infos, new releases, girls, money go to :
http://mpgtx.sourceforge.net/
Linux APRIL 2001 tagmp3(1)