/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-13 18:44:02 UTC
  • Revision ID: git-v1:0dbf5fcfbb68944b25dbeeeceb02ac414ac330ad
Inital code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env bash
2
 
#####
3
 
# FILE NAME: mp32opus.sh
4
 
#
 
2
 
5
3
# 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
 
 
14
4
 
15
5
for i in *.mp3; do
16
6
  name=`echo "$i" | cut -d'.' -f1`