/useful/trunk-1

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/useful/trunk-1

« back to all changes in this revision

Viewing changes to scripts/mp32opus.sh

  • Committer: Gustav Hartvigsson
  • Date: 2021-01-14 13:11:37 UTC
  • Revision ID: git-v1:194f33c532da1520afdfc427fcfd1c4f235bb728
enc2firefox.sh

* Inisialised variabels to strings in start of scipt

* changed __help () to __usage ()

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env bash
2
 
 
 
2
#####
 
3
# FILE NAME: mp32opus.sh
 
4
#
3
5
# Convert Audiobooks (mp3) to Opus with cover-art preserved.
 
6
#
 
7
# FIXME:
 
8
# This probobly needs a bit of an overhaul... Now it is just a dumb script
 
9
# without any commandline arguments.
 
10
#
 
11
#####
 
12
 
 
13
 
4
14
 
5
15
for i in *.mp3; do
6
16
  name=`echo "$i" | cut -d'.' -f1`