I have a folder containing many C source file and the same number of its compiled output files.
I set executable bit to all this files but for some reason it was lost, making them not executable. (I think that's because I moved that folder to a NTFS partition for a while).
I would like to make them (but not the other files in my directory) executable again. One possible way is to move all source file from that folder to a temporary folder and do:
chmod +x *
Then move source files back to current folder.
Is it possible to do the same without moving files around?
Note:
Compiled output files are extension-less (in C).