Script to delete normalized folders
This commit is contained in:
parent
7077a5233c
commit
a90e89c8af
14
arch-config/scripts/pieces/delete-normalized.sh
Normal file
14
arch-config/scripts/pieces/delete-normalized.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/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 normalized
|
||||
cd "$HOME/MusikRaw"
|
||||
done < directories
|
Loading…
Reference in New Issue
Block a user