retiolus@lemmy.cat to Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.comEnglish · 1 year agoNaming Torrentsfiles.catbox.moeexternal-linkmessage-square110fedilinkarrow-up1595arrow-down126
arrow-up1569arrow-down1external-linkNaming Torrentsfiles.catbox.moeretiolus@lemmy.cat to Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.comEnglish · 1 year agomessage-square110fedilink
minus-squareelscallr@lemmy.worldlinkfedilinkEnglisharrow-up7·1 year agoYou can just grep for carriage returns followed by newlines, grep -Pirn '\r\n$' /path/to/whatever. It’ll identify all your problematic files.
You can just grep for carriage returns followed by newlines,
grep -Pirn '\r\n$' /path/to/whatever
. It’ll identify all your problematic files.