retiolus@lemmy.cat to Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.comEnglish · 1 year agoNaming Torrentsfiles.catbox.moeimagemessage-square99fedilinkarrow-up1591arrow-down125
arrow-up1566arrow-down1imageNaming Torrentsfiles.catbox.moeretiolus@lemmy.cat to Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.comEnglish · 1 year agomessage-square99fedilink
minus-squareelscallr@lemmy.worldlinkfedilinkEnglisharrow-up6·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.