diff options
| author | Marc Vertes <mvertes@free.fr> | 2025-02-24 11:52:58 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2025-02-24 11:52:58 +0100 |
| commit | 17d348db1738a536319de62229c233e764766087 (patch) | |
| tree | 19c57dfb03b05c9a814825d64da73ae253c19bbc /bin/cpmp3 | |
| parent | 9921f42676ea8361ea3d14bc1c9c5e184dfe5e07 (diff) | |
add mp3 scripts
Diffstat (limited to 'bin/cpmp3')
| -rwxr-xr-x | bin/cpmp3 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/cpmp3 b/bin/cpmp3 new file mode 100755 index 0000000..49d17cf --- /dev/null +++ b/bin/cpmp3 @@ -0,0 +1,7 @@ +#!/bin/sh + +find . -name "*.mp3" | while read -r name; do + d="../mp3/${name%/*}" + mkdir -p "$d" + cp "$name" "$d" +done |
