A little help with BASH scripting

About writing shell scripts and making the most of your shell
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
itlarson

A little help with BASH scripting

Post by itlarson »

I record a weekly radio show with streamripper, which I have automated using cron. The result is a two hour mp3, which is fine, except that no player except VLC can read it's timebase. This can be easily fixed by running the mp3 file through the "mp3val" command line tool, but I can't figure out how to automate this. Namely I don't know how to get the name of the streamripper output file to use in the mp3val command line. I am sure there must be an easy way to do this, and any help would be appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29587
Joined: Wed Jul 06, 2011 3:58 am

Re: A little help with BASH scripting

Post by xenopeek »

Moving the topic here as it is about scripting.
Image
stratus_ss

Re: A little help with BASH scripting

Post by stratus_ss »

Can you give some sample file names?

I can hack something together based on a time stamp if it doesnt follow a naming convention
Locked

Return to “Scripts & Bash”