Find all files with the extension ".log" and replace all occurrences of a date in the format YYYY-MM-DDT with just the letter T.
find . -name "*.log" | xargs sed -i 's/[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}T/T/g'