Commit 5963eaf1 authored by Toni Eberhard Lantzsch's avatar Toni Eberhard Lantzsch
Browse files

Upload duplikate-remover

parent 1c56f9f2
ag=1
temp=0
for f in *; do
mv "$f" "${f// /_}";
done
for line in *; do
temp=$(grep -oP 'AG\K.*?(?=-)' <<< $line)
echo temp=$temp
echo $ag
if [ "$temp" == "$ag" ]
then
echo $line
rm -r $line
else
ag=${temp}
fi
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment