Tag Archives: dailyhelpers

Bash script: Recursively convert line breaks in all files from Dos/Windows to Unix AND Replace Tabs with Spaces.

It’s really annoying that on Windows, nearly every program that deals with text saves the text in Windows-format. That’s not good when you work in a multi-OS-environment. Another annoying thing are TABS, which often are much wider in Linux editors than in Windows, and are generally superflous as i think. Especially when programming Scala, where the [...]
Posted in General | Also tagged | Leave a comment

Batch script: Convert long folder name to short 8.3 name

When running Windows, i often had problems with long folder-names, especially on the command line. Since Scala also has a problem with a JDK lying in a folder like “Program Files(x86)” i decided to write a little batch-helper to convert long folder names to the short 8.3-form. Then i put the short name of my JDK folder [...]
Posted in General | Also tagged | 2 Comments