Hello Unix users, this is my first post here.
I want to search a directory (and subdirectories) for executable files (files with rwx------ permission) and move them to a different folder. What Unix commands can accomplish this?
Hello Unix users, this is my first post here.
I want to search a directory (and subdirectories) for executable files (files with rwx------ permission) and move them to a different folder. What Unix commands can accomplish this?
find /source/dir -type f -perm 700 -exec cp {} /dest/dir \;
Thanks!