PDA

View Full Version : File / Folder Naming Issues?


dudemanbubba
21-Jan-2010, 05:35 AM
I am new to Beyond Compare. I recently got an NAS for my network and have done some large transfers of data from various locations on my network to put everything together. I had some issues with the WD Sharespace unit and I transferred everything back and forth a couple times and made a couple copies on my network just in case.

Well, my network consists of one XP machine, three MacBook Pros, an Ubuntu box and the WD Sharespace.

I have been evaluating this software both on XP and the Linux box. I was trying to use the Linux box for most of the effort since it is permanent and my laptop comes and goes. Some of these large transfers took +15 hours each.

Anyway, something happened along the way. Many of the directories and file names got jumbled. Anything with a special character such as a letters with accents or suenos and even some russian fonts got changed to boxes or winding or some other characters. I had several backups and was able to piece everything back together, but I could not use the Linux box to do so. Only the XP version. The Linux box would not display certain directories, it would not let me delete some files... or when I would delete a couple files other files I previously deleted would pop back up on the list. Very strange stuff. Sometimes I would delete the renamed files and they would come off the list in BC, but the file was still there and could be seen from the XP machine.

I had a handful of the odd named files left and even the XP machine had some issues. When comparing directories where on had the duplicate file with the changed filename, the changed file wouldn't show up on the list, however BC would show that the directories didn't match.

Anyway... I really wanted to use this on the Linux system but now I am concerned. Even after I cleaned the stuff with the XP machine and the directories appear correct on from BC and through explorer, the Linux machine still shows some wierdness.

Any ideas?

dudemanbubba
21-Jan-2010, 05:01 PM
I didn't mention, but I am using Ubuntu 8.10.

I might have stumbled across something that may help narrow the search. I have the network share mounted in my file structure using my fstab on bootup with the following entry in fstabs:

//FamilyData/public /home/jason/Documents smbfs credentials=/home/jason/.smbpasswd,noperm 0 0

When accessed through this mounted share in the file system I get the changed characters. When accessed through a networked browsed file viewer it looks fine. XP looks fine in either.

Let me know if anyone has any ideas!!

dudemanbubba
21-Jan-2010, 06:23 PM
Talk about your one sided conversation! :)

After a day of searching... I found the culprit. The fstab entry apparently needs "iocharset=utf8" added. The following is my revised fstab entry:

//FamilyData/public /home/jason/Documents cifs credentials=/home/jason/.smbpasswd,noperm,iocharset=utf8,codepage=unicode, unicode,file_mode=0777,dir_mode=0777 0 0

I changed the "smbfs" to "cifs" and included the "codepage=unicode,unicode" option and had been using the "sudo mount -a" to reload the fstab... nothing changed after all of my iterations until I actually rebooted. I checked the file viewer and all was well so I didn't spend any more time questioning!

Solved my own problem!:D

Aaron
22-Jan-2010, 09:31 AM
Thanks for coming back and updating this post with your solution. I'm sure some of our future customers will find it useful.