diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-12-07 21:16:37 -0800 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-12-07 21:16:37 -0800 |
commit | 134b97e68e12791e6f3b26f1e830c6f324e9ca0f (patch) | |
tree | 596283385d1070b751dfdba27f2787cb41f91888 /sh/snippets | |
parent | 35cae6616f045a6f0e12a69f64c160199cb23996 (diff) |
update
Diffstat (limited to 'sh/snippets')
-rw-r--r-- | sh/snippets | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sh/snippets b/sh/snippets index 57dd232..6f336c1 100644 --- a/sh/snippets +++ b/sh/snippets @@ -65,3 +65,9 @@ fi printf 'default: '; curl -m1 ifconfig.co printf '4: '; curl -4m1 ifconfig.co printf '6: '; curl -6m1 ifconfig.co + +find "$HOME/archive/music" -type f -name '*.wav' -execdir sh -c ' + for i; do + ffmpeg -i "$i" "$i.flac" && rm "$i" + done +' sh '{}' \+ |