Delete Files

Problem:

-bash: /bin/rm: Argument list too long

Solution:

Delete all files:

for i in *; do rm "$i"; done

Delete special files:

for i in *.jpg; do rm "$i"; done

delete by first letter:

for i in $( echo {a..z} ); do rm $i*.jpg ; done