I am trying to clean up my directories and would like to move all executable files to a subdirectory. I know 'find -executable' will find all the files and I know I'm suppose to use mv to move them but I can't really pipe from find into mv?
Is there a way to do this instead of me typing so many exec files one by one into mv.
I also can not use * as they are all named different and don't have mutual extension. It's easy to do that for all .c or .py files but with exec files I'm having hard time figuring it out.