configs/arch-config/scripts/pieces/music-delete-transcode.sh
2021-01-26 09:49:24 +01:00

17 lines
241 B
Bash

#!/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