給未來的裕翔
因為我想試試看opencv提供的sample裡面的3個makefile
所以每做完一個
就要把它們產生的binary移掉
想法是: 把至少具有執行的權限的檔案(目錄也可執行 但不是我要的), 全部移除
find -perm -111 -type f -exec sudo rm -f {} \;
貼心小提醒
最好是先用list, 免得牽連無辜
find -perm -111 -type f -exec sudo ls -l {} \;
ps: 先後試了GNUmakefile, makefile.gnu, makefile.ms
只有GNUmakefile可以work, 真出乎我意料
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment