Add file to delete transcode folder
This commit is contained in:
parent
fa0d5ea818
commit
0444cb5eb1
16
arch-config/scripts/pieces/music-delete-transcode.sh
Normal file
16
arch-config/scripts/pieces/music-delete-transcode.sh
Normal file
@ -0,0 +1,16 @@
|
||||
#!/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
|
Loading…
Reference in New Issue
Block a user