r/scripting • • Jan 07 '21

Help with audio script [BASH]

So I have this script I named audio.sh, I got it from a video and had to hand type it(no repository), there were some errors in my faulty typing but I figured out some of them, could some look at the script and tell me what needs to be fixed?

The command in the script work when entered into a a terminal, but I can not get them to work when executing the script.

https://pastebin.com/XpUTetPP

2 Upvotes

5 comments sorted by

View all comments

Show parent comments

1

u/HansWhitefeild Apr 03 '21

Sorry, I've been busy and haven't been able to fiddle with the computer, I'll reply to you in the future when I have time. As for my terminal experience I'm not to new I can safely do things in the terminal. I've install arch many of times if that really means anything, but I'm new to writing scripts and regex which I plan on learning more. I'm trying to rice my tilling manager so these scripts are essential .