Pretty new to Linux, but have discovered the 'dislike' Linux have for spaces in names.
By using :rename 's/ /_/g' *
it renames everything in that directory by adding a _underscore instead of the spaces.
So "test dir nr 1 becomes "test_dir_nr_1" and "test file 1.txt" becomes "test_file_1.txt"
But! Is there anyway to make it automated and recursive (is that the right word?, ) doing subdirectories in subdirectories as well?