728x90
find 이후 옵션으로 명령어를 실행하기
# find /work/dir -name "*.tmp" -exec rm -rf {} \;
같은 원리로 복사나 이동이 가능
# find /work/dir -name "*.tmp" -exec cp {} /des/dir \;
# find /work/dir -name "*.tmp" -exec mv {} /des/dir \;
728x90
'Programming > linux왕초보' 카테고리의 다른 글
alsa-driver-1.0.25설치 시 fw_device_put error (0) | 2013.11.08 |
---|---|
ubuntu 하드디스크 mount (0) | 2013.10.29 |
openssl for arm (0) | 2013.03.27 |
Unable to locate theme engine in module_path: "pixmap" (0) | 2013.01.31 |
iptables arm porting (0) | 2013.01.31 |
checking panel.h usability... no (0) | 2012.10.10 |
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory in i686 (0) | 2012.10.10 |
Qt Cross compile (0) | 2012.08.20 |
perl : Can't locate Term/ReadKey.pm ERROR (0) | 2012.05.22 |
(target: Desktop) When executing build step 'qmake' (1) | 2012.05.21 |