One-liners

Fairly self-explanatory.

Find nodatacow files on btrfs

$ find [directory] ! -type l -exec lsattr -d {} + | sed -n 's/^[^ ]*C[^ ]* //p'