diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-05-31 14:42:44 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-05-31 14:42:44 +0200 |
commit | 65f77abd7de798ecfc8fb57c00c25e1e1e8623f3 (patch) | |
tree | 9cd479be1a06c367ef0341ba26f02cb4fd6aaae2 /flactomp3 | |
parent | 0582c9f9b114702e7a5a3a12339b46d71ba4fec1 (diff) | |
download | bin-65f77abd7de798ecfc8fb57c00c25e1e1e8623f3.tar.gz bin-65f77abd7de798ecfc8fb57c00c25e1e1e8623f3.tar.xz |
flactomp3: remove echos
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'flactomp3')
-rwxr-xr-x | flactomp3 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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#=}' |