Mac users can access a suite of free command-line utilities with open source code. This software allows for straightforward execution of various computer functions through a convenient command line interface.
One such tool, dos_to_unix, is specifically designed to change the new line sequence of DOS/Windows-style files to Unix style. It works on one or multiple files, appending a tilde symbol (~) to the original files. Meanwhile, email_splitter allows you to break down email messages in a file into separate files of their own, named according to the time it was received.
For developers who need to examine hexadecimal files, file_dump is a perfect tool. When used, this application dumps a little-endian file in a readable format, with the least significant byte on the right. In the event that you need to replace certain strings in your files, simply use the replace_string application to do so. This tool searches for a specific string and replaces it with another in one or more files, also appending a tilde symbol (~) to the original files.
Another fantastic utility, rmdup, lets you pass in a list of files and deletes any duplicate files it comes across. Finally, the unix_to_dos application allows you to switch the new line sequence of Unix-style files to DOS/Windows style. Like other applications, old files are backed up and saved with a tilde appended to their names. All of these CLI utilities are worth exploring and can be incredibly valuable to any developer looking to simplify their file processing.
Version 0.2: N/A