find all files and files in a subdir
find . -type f | xargs grep -l “VALUE”
to delete some files
find . -name “*.aud” -mtime +1 -exec rm {} \;
find . -type f | xargs grep -l “VALUE”
to delete some files
find . -name “*.aud” -mtime +1 -exec rm {} \;
Discussion ¬