Ubuntu :: WinXP Truncates Long Filenames Saved On Ubu CD?
Apr 1, 2011
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
just start Ubuntu 9.04 said: File system chek failed a long is beging saved /var/long/fsck/checkfs if that location is writable Please repair the file systmen manually A maintenance shell will now be started Ctr+ D terminate this shell and resume system boot. Give root password for maintenance or type Control +D to continue. I did Ctr+D , and after login said , that can not find /home. I starte with the live cd:
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 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 an old game, and I want to back up the disk because its old and a little scratched. I tried to use dd to record the disk, but it crashes with an "i/o error", which is strange because I can read the files on the cd without any problem.Luckily, I found all of the files from the disk already backed up on my hard drive. The problem is, when I create an iso image using mkisofs it abbreviates all of the filenames... which makes the game not... run. So how do I create an iso image with long filenames?
I misused wildcards like a moron, in the rename command. I repeated names twice in a 3gig folder, which I cannot afford to delete. Now, the rename command is not working, and it says the file name is too long. I am a competent programmer in Java, PHP, and I know basic C.
I just installed Ubuntu Remix 10.04 on my wifes MSI U100 netbook. I did a dual boot just in case she had to get into Windows for something. I let the install automatically partion (did the side by side option). Anyway, Ubuntu works fine and imported all her documents and stuff. Problem is Windows XP won't boot. The first time I tried to boot Windows XP I got a message saying the hardware had changed and I had to select safe mode, normal boot, last known good, etc... I booted normally. I got the splash screen followed by a quick flash of BSOD and a reboot. I does this no matter how I try to boot Windows (safe, command prompt, etc). Anyone have any idea what the problem is?
I am using DD to backup entire system partitions and now I am trying to restore one. The resulting disk image from my buggy process has zero bytes. D'oh.It apparently thinks the image was trailing garbage and ignores it. It deletes the original file and replaces it with a zero byte .dd file. I have the original copy of the image in a dd.gz file. It's 6.3 GB so it may still contain the data.How do I get the original image back without destroying it again?
I am running Centos 5.3. I ran no updates, performed no installs, nor changed any configuration immediately prior to this issue. My problem is this: when I run the command startx (default runlevel 3), it is a long time (5-10 minutes) before Gnome startx, and once it does start applications will not run. Also, when I try to use sudo (from any environment, even ssh), it is a long time (5-10) before the command is executed.
I cannot say for sure, but it seems like this is an intermittent problem. Sometimes X takes a long time to start, but once it starts it will launch programs. Sometimes X takes a long time to launch, but once it starts it will only launch certain programs. Though presently X always takes a long time to start, and I cannot successfully launch any programs.
A while back a had a similar problem to this (x taking long time to start, sudo taking long time to execute) and it ended up being a DNS problem. Unfortunately, I cannot remember exactly what it was and I stupidly did not document it. Maybe this is also DNS related, I don't know.
I don't know what log files to look at for problems with X, Gnome, and sudo taking a long time to start.
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?
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'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 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).
I'm working on changing some badly named files, lots of them. I have a little script I use to change uppercase to lowercase:
[Code]....
Bear in mind all these files have appropriate numbers in the front of each filename. I need help to change ONLY the first letter after each underscore to an uppercase letter. I'm sure this can be done but I've done so much searching in forums and with Google/linux until I'm scrambled.
I am trying to synchronize the content of the directory my_dir/ from /home to /backup. This directory contains a file which name has a double quote in it, such as to"to. Here is my rsync command: rsync -Cazh /home/my_dir/ /backup/my_dir/
And I get the following message: rsync: mkstemp "/backup/my_dir/.to"to.d93PZr" failed: Invalid argument (22) For info, rsync works well when the synchronized filenames contain single quote, parenthesis and space. Thus, why is it bugging with a double quote?