find question
Hi,
can somebody help me with this one?
% find `pwd` \( -name "*.log" -o -name "*.aux" \)
/home/shao/report/main.log
/home/shao/report/main.aux
/home/shao/report/title.aux
/home/shao/report/abstract.aux
% find `pwd` \( -name "*.log" -o -name "*.aux" \) -exec 'rm {}' ';'
find: rm /home/shao/report/main.log: No such file or directory
find: rm /home/shao/report/main.aux: No such file or directory
find: rm /home/shao/report/title.aux: No such file or directory
find: rm /home/shao/report/abstract.aux: No such file or directory
Thanks for any help in advance.
Regards,
Shao.
--
____________________________________________________________________________
Shao Zhang - Running Debian 2.1 ___ _ _____
Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _
University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` |
Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@cia.com.au |___/
_____________________________________________________________________________
Reply to: