Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Nautilus doesn't merge folders with the same name if one of them has uppercase letters and the other doesn't; if one is called "Folder" and the other is called "folder" then Nautilus wouldn't merge them. I have a large amount of files that I need to merge, is there a script that would allow Nautilus to mass merge them all? If not, is there another way than manually renaming all the folders?

share|improve this question
add comment

2 Answers 2

up vote 2 down vote accepted

It is by design. File and folder names are case-sensitive in *nix systems.

Renaming can be automated in a variety of ways. Mass renaming utilities are available, pyrenamer Install pyrenamer, nautilus-renamer Launchpad logo , rename, mmv Install mmv , to quote a few.

To complete the answer, here is a script that does the renaming for you.
rename 'y/A-Z/a-z/' *
This should rename all files/folders to lowercase.

share|improve this answer
    
Thanks a lot! :) –  Vagrant232 Aug 11 '12 at 12:35
add comment

NO, you can't simply merge them.

In any Linux or Unix (including Ubuntu), filenames and folder names are case sensitive. So two similar directories but with different case can co-exist.

You need to create a shell script to rename them ..

( I will see if I can find the time to write one. )

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.