tr command just for text files?

phule

Registered
Should I run the command `tr \\r \\n <macfilename> <unixfilename>' (minus the quotes) in the Terminal on textfiles ONLY or will tr harm any binary files?

After I migrate to OS X in a few months, I was planning on copy a large folder of text files to my home directory. I was then going the open the terminal, cd to the directory of text files (with its' sub-directories) and enter `tr \\r \\n *'. But I just remembered that this folder of text files (called N0TES) also contains some pdf, jpeg, tiff, html, and mp3 files.

I was going to do this because I want to use some of the *NIX editors (Emacs, pico, hopefully NEDIT, and maybe nano) on some of these files.

Thanks in advance for any answers!
 
Back
Top