Ubuntu :: Cyrillic Filenames Corrupted After Crash
Nov 2, 2010
Everything was fine after fresh install of kubuntu 10.10 on my laptop, until today. I was exploring system settings (didn't change anything, just looking) when KDE crashed suddenly. After restart I found all my filenames with Russian letters corrupted - just like filesystem was mounted with wrong encoding. How can I get them back to normal?
I have this issue: i can't write in Cyrillic inside my flash application: http:[url]....I can't write if i type from keyboard. At the place of normal characters i get some strange ones.If i use the virtual keyboard included in my program, it works properly.(now i use Karmic, but this problem there was also in previous editions)I think should be something about fonts, but i don't know exactly what to do.
my problem is that I can't extract some files because of a problem with cyrillic fonts (at least, this is what I suspect). The point is that I download some kind of files, which are fully functional to extract and open in windows but in Ubuntu trying the same thing, ends with an error. Files are downloaded from a russian web, so I think the fonts are cyrillic, which is the root of the problem. In windows they are shown as some kind of rare ASCII string but it's OK to open them.
The problem when trying in Ubuntu is that the file is shown as a large string with question marks '?' replacing all non-latin characters and it may cause problem, as it is the wildcard shell character in Linux. Renaming the file seems as an impossible task too. I have to process many of these files. Does Anyone know how can I avoid windows to do this? I tried to install many packages for cyrillic/russian support through synaptic nut it didn't seem to work.
I just installed Fedora 13 and i noticed a very annoying problem. I cannot type in Cyrillic in any of GNOME`s applications, however i can type in Cyrillic in other programs - like Firefox for example. I`ve tried in Rhythmbox, network manager (the configuration dialogs), gedit, nautilus, etc. I`ve also tried in Firefox where it works and for now is my only non GNOME application. The curios thing is that Cyrillic does work in gnome-terminal... I am currently using Bulgarian phonetic traditional layout but i`ve also tried with Russian and Macedonian without success. My Fedora installation is fully updated.
I have RAR archive including some files using Russian file names and I?m unable to display them properly in xterm window in my Slackware 13.1. Instead of the Cyrillic letters I see questions marks, for example ??.txt?.I tried four methods:
I'm COMPLETELY new to linux. I"m running Ubuntu 9.10 and TRYING to install Devede. I have tried the Terminal, Synaptic Manger, and the Add/Remove and still keep getting this same error. I'm running a regular 32 bit Pentium 3 process to test if I like Linux or not. this is what it says: E: /var/cache/apt/archives/libavcodec-extra-52_4%3a0.5+svn20090706-2ubuntu3_i386.deb: corrupted filesystem tarfile - corrupted package archive this is not a DUAL boot computer either.
I have just switched to banshee as my media player and imported my films and music. Problem is, the video list is quite hard to read because all the video files have spaces in their names which are replaced by % signs, numbers and letters. I'm wondering if there is a command I can use in the directory that will automatically remove all the spaces from the filenames or better still, replace the spaces with hyphens or underscores?
I made a few data DVD's in OS/X 10.6.7 on my Macbook, using Burn URL...with the option "burn for PC and Mac".To my surprise when I load the DVD's in my ubuntu netbook, Unity displays the filenames abbreviated and renamed [COLOR="Navy"][U]. Some of the original filenames are similar, but unity restricts the filenames to about 22 ~ 50 characters.As such, I can't get a true (correct) file listing of the DVD's contents in Natty. I don't recall this happening with Karmic. Is this some problem with Nautilus?
FWIW, these were done using double layer 8.5 DVD-R disks. However, I did NOT select overburning, so the contents fit well into the allowed capacity, to permit inclusion of any hidden files.As soon as I load the disks on my Mac, I am able to see the full filename.
I'm writing a small script to automate the backup: Problem: within the folder structure there're files and folders with Cyrillic characters: Example (this is not for bucking up the mp3s; it's only an example): [Code].....
i reboot, windows drives are mounted with different filenames (eg:first time d: was /media/disk and e: was /media/disk-1 but after reboot they got interchanged - e: was mounted in /media/disk). I cannot afford this as several apps use files from these drives and their path keeps changing after every fresh boot.
I have recently been exploring the xfce wm, and like it a lot, except one big thing: I have a number of files and links on my desktop, but by default only the first part of the file name is shown unless the icon/file is selected
I have created a CD-Rom with pictures with long file names, up to 120 characters, using Brasero disk burner supplied with Ubu 10.10. I need Win XP to accept the long file names from the CD made in Ubuntu without truncating them. The WinXP HD is formatted NTFS.1) When I look at the CD made in Ubuntu with long file names,in Win XP, it shows the file names only in the 8.3 (DOS) format. When I open in Irfanview, the file names are also truncated. 2) When I email the pictures (with long file names) from Ubuntu and accept in XP, the photo file names (long) are seen unaltered. They can be stored, managed and used by viewing applications with the long file names.note: in XP, a short file name for a photo can be made to be very long, say 150 characters, and there seems to be no problem in manipulating it or viewing it
I'm running Fedora 15 with current updates and kernel. I do not have anything special or non-standard about my configuration or setup. I use grsync to sync my home folder files to a remote rsync server on my network. I've checked my hard drives and my memory and everything else I can think. Here is the problem:
grsync will run for some time and once it nears completion it will crash. This, however, is no standard crash. It literally shuts my computer "OFF". I have shared the remote rsync folder through CIFS as well and I can copy those exact same files through nautilus with drag and drop without issue. I have had a few occasions where the rsync process will complete without issue, but this is a rare occasion. Since it powers my computer completely off I do not enjoy the luxury of having any log files or messages to attempt to diagnose from.
I am currently working on a script which makes regular backups of some data I have, and I would like to name the compressed TAR files with the date it they were created, in short I want to rename a file:
I want to travel for a while and need winfdows 7 for that. I want to copy my Linux Thunderbird profile with many years of emails across to windows7 then back to Linux when I'm finished with win 7. I copy the "profiles" folder at ~/.thunderbird/profiles folder over to win 7. Being thorough, I then run the windows app "chkdsk" to see if windows dislikes what I did in a filesystem context. Chkdsk finds three illegal filenames in the copied folder. The filenames contain colons.
They are as follows: a directory named "mailbox:" a directory named "mailbox:.sdb" a file named "mailbox:.msf"
I try to manipulate them in windows (e.g. rename, delete, open, whatever) and get error messages about invalid names. It sounds to me like the items really are corrupt. So now I have a partially corrupted Thunderbird that works in Linux and doesn't work in windows and has years of emails in it. How do I straighten out Thunderbird in Linux? (I'll worry about windows later)
list filenames one-per-line, in BASH without including directories. I think he was either wrong or making that up. There is a way to list just the names and one per line but there aren't any arguments I can find that can be used to exclude directories.
Code:
IFS=', '; files=`ls -m`; for i in $files; do if [ -f $i ]; then echo $i; fi; done That does only use ls as a command, however he said his GSI thought he could do it without all that...
I am using Red hat linux .. i just wanted to know, is it possible to arrange or sort filenames numerically?i have saved several files with the follwing names : 1.png, 2.png, 3.png, 4.png ...... 11.png 12.png. and so on.... but the containing folder sorts this alphabetically in the following manner 11,12,13...... 1, 2, 3, and so on...
The (WD 320GB) drive has a single ext3 FS on it. It has had some problems in the past, but all were fixed with fsck -y. Now there are several directories with duplicate filenames. The files with duplicated names are hard links of each other, but the names are identical. I've run several diagnostics over them, looking for, eg, non-printing characters in the name, but they are completely identical. Here are some examples:
[code]....
These are (obviously) from a directory of mp3s, but similar duplications occur throughout the fs - there are several thousand files affected. Some of the diagnostics were programmes I wrote that accessed the directory itself (through the dirent structure). I always thought duplicate filenames in the same directory were impossible in unix/linux; this appears to prove me wrong. Am I missing something? (Kernel version 2.4.20 with xfs extensions. The installation was originally Red Hat 7, but I've changed almost everything, so it's probably more accurate to call it a custom distro.)
I have filenames like such: abc (e).doc And I want to rename them to abc.doc I have a directory full of files names like this. How can i do this using the sed command? I have looked online for about 2-3 hours now and am frustrated that I can't find an answer.
I have a large number of files, all of them named /*/*.xyz I need to match them to potential files name /*/*.abc I have tried find -name *xyz |awk '// {print '$NF'}' | awk '{print $NF }' but the result has the full path I just need the filename without the extention, and without the full path.
I'm looking for a shell script that will recursively make all of the file and directory names in a large directory tree lowercase. It has to work with file and folder names with spaces and keep the spaces in the converted names. The reason I want to do this is because most of my personal files are on my Windows partition, and before I discovered Ubuntu, I made my file and folder names have mixed case as in "My File.txt", and now I want it to look like "my file.txt".
I searched the forum and didn't find any threads that seemed to answer this question. I have a large directory of files, and dozens of subdirectories on a remote box I have ssh access to. I need a subset of these files copied to another folder.
Example:
directories parent -sub1 -sub2 -sub3
files I want (the files are all the same format, but some have extensions and others dont) 1100 1215 1322 1442 1500 1512
Unfortunately, I need a lot of files, and plan to do this on a regular basis (the files I need will be different each time) I was thinking it would be nice to be able to put the filenames in a text file (one filename per line) and use the find command to copy the files (I don't necessarily know which subdirectory the file will be in).