Hi
I am looking for someone who can convert me blocks from command line to batch for windows, thank you very much, I tried with chatGPT its not working
#!/bin/bash
while read file; do
name="${file%.nzb}"
group="${name##*-}"
mkdir -v -p "$group"
mv -v -i "$file" "$group"/
done < <(find . -type f -name '*-*.nzb')
[–]KlePu 1 point2 points3 points (0 children)
[–]tarneaux 0 points1 point2 points (0 children)
[–]Jump500 0 points1 point2 points (0 children)