configs/arch-config/scripts/pieces/music-delete-transcode.sh

17 lines
241 B
Bash
Raw Normal View History

2021-01-26 09:49:24 +01:00
#!/usr/bin/env bash
set -euo pipefail
# change into music raw folder
cd "$HOME/MusikRaw"
# get directories
ls -d */ > directories
while read -r dir; do
cd "$dir"
rm -rf "transcode"
cd "$HOME/MusikRaw"
done < directories
exit