I have a directory, and it has many sub-directories.
What I want to do is to delete all lines that have certain text 'password' in files in each sub-directory.
sed -i '/password/d' *
this command can only work with files and can't go inside directories. I'd be thankful for any advice in how to do this.