LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   is there a cp or alike that you can use based on permission flags? (https://www.linuxquestions.org/questions/slackware-14/is-there-a-cp-or-alike-that-you-can-use-based-on-permission-flags-501967/)

rcorkum 11-15-2006 04:35 PM

is there a cp or alike that you can use based on permission flags?
 
so I could cp all executables out or such. just thought I'd ask thanks

slakmagik 11-15-2006 05:14 PM

One possibility: find PATH -type f -perm /111 -exec cp {} DEST \;


All times are GMT -5. The time now is 02:41 AM.