Public feed #725758

Etwas

public text v1 · immutable
Raw Edit
·published 2007-10-04 17:53 UTC
rendered paste body
COUNT=1
#new name already in existance?
if [ -e ~/temp/yt/"$NEWNAME" ]; then

#check if suffix available
while true; do
    if [ ! -e ~/temp/yt/"$NEWNAME""$COUNT" ]; then break; fi
    COUNT=COUNT+1
    echo $COUNT
done


fi