/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: 2024-09-30 19:03:54 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20240930190354-o57vi8aaqi0ezwz8
Misspelled:  pkcon.

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
#
 
5
# Authors:
 
6
#    Gustav Hartvigsson 2024
 
7
#    Distributed under the Cool Licence 1.1
 
8
#
3
9
# Convert Audiobooks (mp3) to Opus with cover-art preserved.
 
10
#
 
11
# FIXME:
 
12
# This probobly needs a bit of an overhaul... Now it is just a dumb script
 
13
# without any commandline arguments.
 
14
#
 
15
#####
 
16
 
 
17
 
4
18
 
5
19
for i in *.mp3; do
6
20
  name=`echo "$i" | cut -d'.' -f1`