real quick unix question on chmod

im trying to chmod some files via the command line all at once instead of manually.

How can I do it all at once? I can only work out how to do 1 file at a time. Any ideas?

I've been doing this

chmod 644 filename.ext

but need something like

chmod 644 entire directory contents.


Edit. Figured it out.

chmod 644 *.jpg
chmod 644 *.png

etc etc and the rest of the extentions.

(this can be deleted)

 

 

 

 

Top