Skip to content

Instantly share code, notes, and snippets.

@imedadel
Last active April 26, 2020 20:48
Show Gist options
  • Save imedadel/4e5eeb7024b97769a746373fef761d88 to your computer and use it in GitHub Desktop.
Save imedadel/4e5eeb7024b97769a746373fef761d88 to your computer and use it in GitHub Desktop.
COUNT=0
for arg in $(ls); do
rm -rfv $arg
COUNT=$(($COUNT + 1))
if [$COUNT -ge 10]; then
break
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment