Results 1 to 3 of 3
...and man was it hard to figure out how to do it! I kept wanting to input Linux commands.
We've been manually downloading streaming audio which is dumped to a ...
- 10-10-2010 #1
Wrote my first batch file today...
...and man was it hard to figure out how to do it! I kept wanting to input Linux commands.
We've been manually downloading streaming audio which is dumped to a file in Linux, edited and then transferred over to Windows for playback in a radio automation application. I set up everything as cronjobs. Using mpg123, the file is converted from .mp3 to .wav where it awaits retrieval from the Windows machine. After transfer, the file is placed into a directory to be aired later in the day. The Windows scheduler doesn't seem to accept straight commands so I had to create a batch file for it to retrieve the file from the Linux machine via wget. Google sure did come in handy when trying to figure all of it out. After many attempts and failures it now happens automatically!
- 10-10-2010 #2
I actually just had to convert a batch file, so that I can use it in Linux.
It seems that batch files accept sloppy and incomplete statements. This seems especially true with if statements. Man, it was difficult figuring how to accomplish the same things in a bash file.
I then found that I really needed a true sh file, so that I could run it inside of Android. That's a whole 'nother thing!Last edited by waterhead; 10-11-2010 at 08:51 PM. Reason: typo
Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 10-11-2010 #3
Good going, Dan!
Batch files are just an utter mess! I never did get the hang of them.
So to knock out a Linux conversion to batch combo... Kudos, brother!
Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.


Reply With Quote
