summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-05-31 14:42:44 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-05-31 14:42:44 +0200
commit65f77abd7de798ecfc8fb57c00c25e1e1e8623f3 (patch)
tree9cd479be1a06c367ef0341ba26f02cb4fd6aaae2
parent0582c9f9b114702e7a5a3a12339b46d71ba4fec1 (diff)
downloadbin-65f77abd7de798ecfc8fb57c00c25e1e1e8623f3.tar.gz
bin-65f77abd7de798ecfc8fb57c00c25e1e1e8623f3.tar.xz
flactomp3: remove echos
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xflactomp32
1 files changed, 1 insertions, 1 deletions
diff --git a/flactomp3 b/flactomp3
index 1edcfb4..1939569 100755
--- a/flactomp3
+++ b/flactomp3
@@ -16,4 +16,4 @@ dir=${1%/}
copydir_suffix="_mp3"
# same regex twice, but different replacement pattern
-find "$dir" -type f -name '*.flac' -print0 | parallel -0 echo mkdir -p '{=s#^([^/]+)(.*)/([^/]+)\.flac$#\1'"${copydir_suffix}"'\2#=}'\; echo ffmpeg -i {} -qscale:a 0 '{=s#^([^/]+)(.*)/([^/]+)\.flac$#\1'"${copydir_suffix}"'\2\3.mp3#=}'
+find "$dir" -type f -name '*.flac' -print0 | parallel -0 mkdir -p '{=s#^([^/]+)(.*)/([^/]+)\.flac$#\1'"${copydir_suffix}"'\2#=}'\; ffmpeg -i {} -qscale:a 0 '{=s#^([^/]+)(.*)/([^/]+)\.flac$#\1'"${copydir_suffix}"'\2\3.mp3#=}'