for file in `find ./ -name '*' | grep '.jsp$'` ;do rm -rf $file ; done
===========================
#!/bin/sh
for file in `find ./ -name '*' | grep '[a-z]*.[0-9]$'`
do
if [ -d $file ] ; then
echo "This is Directory ..."
continue
else
ls -trl ${file}
fi
done
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8806316/viewspace-1010743/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/8806316/viewspace-1010743/