passing output of find command to rm command code example Example: pipe find to rm find /usr/www/bar/htdocs -mtime +15 -exec rm {} \;