Menu

#9 Show file info before Conversion

Unstable_(example)
closed-rejected
None
3
2020-07-14
2019-06-13
Anonymous
No

1 . Before Converting , Show the current file format Like (unix, Mac, Windows) with encoding
2. if the file is already in unix format and trying to convert again in Unix, Show meassage like file is already in unix. But the tool is keep converting again. Eg convering 300MB Size of UNIX file into again Unix - taking approx 2 mins which is not fine.

Discussion

  • Erwin Waterlander

    Hi,
    The option -i[FLAGS], --info[=FLAGS] FILE ... may help you.
    See https://waterlan.home.xs4all.nl/dos2unix/dos2unix.htm#OPTIONS

    Example:

    Convert only files that have DOS line breaks and leave the other files untouched:

    dos2unix -ic0 *.txt | xargs -0 dos2unix
    
     
  • Erwin Waterlander

    • status: open --> closed-rejected
     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.