General :: Mounting CDROM With File And Directory Names In Uppercase?

Mar 25, 2011

We have an application that on a SCO box that we are converting to Linux.Basically it mount a CDROM drive and pulls data files off of it. We can mount the drive and it displays all the file/directory names in uppercase. Is there a way to do it in Linux?

View 2 Replies


ADVERTISEMENT

General :: Translate Lowercase File Names To Uppercase?

Nov 26, 2010

Kernel 2.6.21.5, Slackware 12.0

As a result of having mixed files from different filesystems, I have, in directory foo/, files with filenames in uppercase and files with filenames in lowercase. If I want to convert them to all uppercase how do I do it? Consider this will be later recorded into optical discs.

View 7 Replies View Related

General :: How To Change Same File Names Directory Wise

Apr 9, 2010

I have a problem with file names changes. I have a hundred of file with same names and different subdirectories. I want to change that file names by their subdirectery names.

Currently is:
file name------------------------subdirectory name
1_km_16_days_EVI_s2_01200_01200.img --> MOD13A2.A2000049.h23v03.005.dir
1_km_16_days_EVI_s2_01200_01200.img --> MOD13A2.A2000065.h23v03.005.dir
1_km_16_days_EVI_s2_01200_01200.img --> MOD13A2.A2000081.h23v03.005.dir
...

I want to
MOD13A2.A2000049.h23v03.005.img
MOD13A2.A2000065.h23v03.005.img
MOD13A2.A2000081.h23v03.005.img

View 3 Replies View Related

General :: File Names And Tilde--not For Home Directory--in Bash?

Jun 6, 2011

I understand the tilde (~) at the end of a file displayed in bash is a backup file in the Linux file system. Is there a way to keep these hidden when listing the contents of a directory?

View 2 Replies View Related

Programming :: Convert Files Names From Uppercase To Lowercase And Vice Versa?

Mar 26, 2011

shell script to convert file names from UPPERCASE to lowercase file names or vice versa in linux

View 6 Replies View Related

General :: Mounting A CDROM In Ubuntu?

Apr 14, 2011

I'm using a software that needs to read data from a cdrom. The instructions say to mount the cdrom (mount /mnt/cdrom). I understand that I need to mount the cdrom to /mnt/cdrom. I created a folder "cdrom" under "mnt". Then I tried to mount the cdrom by typing:

sudo mount /media/ /mnt/cdrom/ This didn't work. Under "media" I have another folder with the actual cd content so I tried to mount it too, but again with no success. I keep getting an error that "media is not a block device". What I am doing wrong?

View 2 Replies View Related

Ubuntu :: Ext4 File System Hosed After 11 Upgrade (duplicate Directory & File Names)?

May 8, 2011

I recently upgraded to Ubuntu 11 and a few days later my ecryptfs filesystem began misbehaving in a weird way. In my home directory, many subdirectory names are duplicated verbatim. Here's an ls -F excerpt:

Desktop/
Desktop/
Documents/
Documents/
Downloads/
Downloads/

I can no longer access files in those directories (if I ls the directory, it appears empty; I can cd to it, but there's nothing inside). Not all of the directories are duplicated/damaged like this, but most are. A few non-directory files are also duplicated in this fashion, so for example:

[Code]...

View 5 Replies View Related

General :: Separate Lowercase And Uppercase In File?

Jun 14, 2010

I have a file partially like this

209 c 89
215 a 76
603 B 190
626 f 240

I want to separate this file into two sub-files based on the lowercase and uppercase of column 2 so that the sub-files are like

file1

209 c 89
215 a 76
626 f 240
file2
603 B 190

View 4 Replies View Related

General :: Convert All File Extensions For Files In Many Sub-directories From Uppercase To Lowercase?

Sep 21, 2010

I'm trying to convert all file extensions for files in many sub-directories from uppercase to lowercase. I have two problems, how to list the absolute path to the files recursively over many sub-directories for which I so far have this:-

Code:
find ~/Photos -print which would be fine, except it gives the directories on their own when it finds them rather than just the files with absolute paths. I couldn't find a switch for the "ls" command to do this, so I had to improvise with "find". and once I get grab each absolute file name, to just change the file extension rather than the entire file, which is what I have at the moment.

[Code]..

View 7 Replies View Related

Fedora :: F12 Cannot Show Chinese File Or Directory Names

Dec 1, 2009

I recently installed the F12, but it cannot correctly show the Chinese file and directory names on a Windows partition with a fat32 file system. What shall I do?

The disk partition is mounted as

Code:
UUID=471D-E212 /mnt/d vfat umask=0022,uid=xxx,gid=xxx 0 0
in the /etc/fstab.

View 4 Replies View Related

Software :: Convert Directory Structure From Long File Names In System To DOS 8.3?

Sep 2, 2009

I've been looking high and low for a utility program or perl script or something that can take a linux directory structure as input and convert it to MS-DOS 8.3 directory structure.

The purpose of this is to conform to the path format that is expected on my rather old Creative Zen Neeon MP3 player for m3u play lists.

View 5 Replies View Related

Ubuntu :: The CDROM Is Not Mounting Anymore In 9.10

Mar 15, 2010

I have Ubuntu 9.10, the cdrom was mounting normally, suddenly it stopped mounting and now when I insert a CD/DVD nothing happens.

My fstab is like this:
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

When I run hwinfo --cdrom it says:

Code:
francisco@francisco-desktop:~$ hwinfo --cdrom
18: SCSI 300.0: 10602 CD-ROM (DVD)
[Created at block.247]
UDI: /org/freedesktop/Hal/devices/storage_model_CDDVDW_SH_S223F
Unique ID: KD9E.+o0IDY85DU5

[cODE].....

View 6 Replies View Related

Ubuntu :: 9.10 Cdrom Stopped Mounting?

Nov 3, 2010

My cdrom has stopped auto mounting. I had a cd that was CD-RW and I wanted to erase the data on it. I followed the guide at: [URL] and ran:

Code:
umount /dev/cdrom
cdrecord dev=/dev/cdrom blank=fast

After doing this, my cd drive stopped auto mounting.

View 3 Replies View Related

Ubuntu :: Error - Mounting /dev On /root/dev Failed: No Such File Or Directory

Apr 4, 2010

I have recently experienced a problem that occurred after an automatic update. After the update it said restart system. So I did and proceeded as normal. when after the reboot Firefox suddenly stopped working, crashed and upon clicking it again only a blank box appeared. Then my other apps followed and i soon couldn't do anything so i shut down my computer. Upon restart I got a black screen with tons of text and something around the lines of

mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting / sys/ on root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or dirctory

[code]....

So I rebooted and pressed shift to open that grub thing and booted from an earlier kernel. This time it said checking HD for errors and after booted normally. Everything seemed fine but next day it did it again. Starting with Firefox crashing and then everything else. I again booted from a previous kernel and it worked but upon checking with uname -a it did not list the kernel i chose to boot from. So I decided to upgrade 10.04 to 10.10. This upgraded my kernel and deleted the old ones so i am hoping i am good now.

View 2 Replies View Related

Ubuntu :: CDRom Not Mounting After Clicked 'Do Nothing' Option?

Aug 14, 2010

I have been burning a few CDs. When I inserted the blank CD I was queried what to set the default action as, and I selected 'Do Nothing'. The CDRom drive now does not attempt to read or mount anything inserted into it. It shows up in Nautilus under 'Computer', but does not appear to be mounted properly otherwise.

I am using Ubuntu 10.04 desktop.

View 4 Replies View Related

Slackware :: Mounting Pendrive And Cdrom Automatically?

Jan 23, 2010

It i plug the pendrive or insert cd to cdrom it will be automatically mounted. How would i do this?

I don't want to mount these manually from terminal.

View 14 Replies View Related

General :: Configure The Way Bash Completes Directory Names?

Sep 7, 2011

I'd like to instruct bash to use a special method to perform completion on certain directory names. For example, bash would call a program of mine to perform completion if a path starts with "$$", and perform completion normally otherwise. Is this at all possible? How would you implement it? The goal is to allow autojump to complete paths for all commands when the user starts them with a certain prefix. So for example when copying a file from a far directory, you could type: cp $$patern + <Tab>

and autojump would complete cp /home/user/CompliCatedDireCTOry/long/path/bla/bla and you would just have to add where you want to put the file. Of course I can use ott's comment to add it to a few specific commands

View 3 Replies View Related

Ubuntu :: Unable To Boot The 10.10 - Mounting /dev On /root/dev Failed: No Such File Or Directory

Feb 9, 2011

After upgrading from 10.04 to 10.10 I have had some problems booting my Ubuntu. It all started when restarting after the upgrade, and I got the error;

Code:

mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting / sys/ on root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or dirctory
Target filesystem doesn't have /sbin/init.
No init found. Try passing init= boot arg

BusyBox v1.13.3 (Ubuntu 1:1.13.3.1ubuntu11) built-in shell (ash)(initramfs) After searching the Internet, I found a "solution". I just had to boot with a USB stick with the Ubuntu Rescue Remix (the normal Ubuntu USB won't boot either), and i wrote;

Code:

sudo fsck /dev/sdb5

Now I could start my Ubuntu again. So whats the problem? If I turn off my computer the normal way, there is no problem, but if I log off, put it into sleep mode, if something happens and I have to turn it off with the button it goes back to the first problem, and I have to reboot it with the USB stick and fix it all over again! If I don't have the USB stick with me, I probably wont be able to use my laptop!

View 9 Replies View Related

Ubuntu Installation :: Mount: Mounting /dev On /root/dev Failed: No Such File Or Directory

Feb 21, 2011

since running update manager on my daughters net running 10.04 netbook on boot up I get the following on the screen

mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn�t have /sbin/init.

[code]....

View 2 Replies View Related

Ubuntu Installation :: Mount: Mounting /dev On /root/dev Failed: No Such File Or Directory

May 14, 2011

Doesn't seem to matter which version, every time I try to install Software raid on an Ubuntu server system, it blows up with this error. Seems I've had trouble for several versions.

Code:

mount: mounting /dev/disk/by-uuid/f35415ee-4c14-4eb1-995f-f19fbcd760c7 on /root
failed: Invalid argument
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory

[code]...

I've done it on Centos Fine, and followed the many different instructions I've seen for Ubuntu. The only luck I've had was with bios raid, but I would much rather let Mdadm handle things.

My build:

ubuntu-10.04.2-server-amd64 CD install
AMD 1055T 6Core
4GB ram
Asus M4A88TD-MUSB3

[code]...

I install both as letting Ubuntu decide partitions for one drive, do the same for the other, and create a raid, and do them from scratch. No dice, same problem. I've tried that one as logical and as primary too. No difference. Something just doesn't like booting from a raid 1 Mirror. I've tried installing grub on both HDDs (sda1 + sdb1)I've tried several CDs, burned from several machines. Re-downloaded from Torrent and from the website. The DVD drives work since I purchased new DVD drives for both one workstation and the server. Things install fine under CentOS, software raid comes up.

View 1 Replies View Related

Debian Hardware :: Squeeze Not Mounting Dvd Drive Or Cdrom?

Mar 6, 2010

just installed squeeze today, all went well but when I put a cdrom or dvd disc in it will not auto mount.. have to manually mount them from terminal. I've looked a /ect/fstab and do not see any problems there. Anyone else run into this problem on a squeeze install and fixed it?

View 3 Replies View Related

CentOS 5 Server :: Mounting DVD / CDROM On WinXP Platform?

Dec 30, 2009

I have installed XP on linux xen, when I mount a dvd or cdrom, it would mount on linux not windows! What should I do to mount it on windows? (I installed xp in virtual machine via an image file, so, whenever windows is poped on, the windows xp cd-rom is mounted with that image file), is there any way to mount it from hard?

View 1 Replies View Related

Software :: List Files/directory Names Without Directory Contents?

May 3, 2011

When I run "ls -al somedir*" (I use the "ll" shortcut, actually), Linux not only list files that match, but also the contents of directories whose name also happens to match.Is there a way to limit "ls" so that it will only show names (files and directories) and ignore the contents of the directories?

View 2 Replies View Related

Ubuntu :: General Error Mounting Filesystems - Error "No Such File Or Directory Fsck From Util-linux-ng 2.16"

Apr 1, 2010

My ubuntu stops when mounting system hdd. The screen display the following messages :

mountall:/etc/fstab: No such file or directory fsck from util-linux-ng 2.16 WARNING: couldn't open /etc/fstab: No such file or directory init: mountall main process (545) terminated with status 1 General error mounting filesystems. A maintenance shell will now be started. CONTROL-D will terminate this shell and re-try. udevd[560]: can not read '/etc/udev/rules.d/z80_user.rules. Ubuntu: clean, 474879/24231936 files/28016581/96898047 blocks root@i7:~# exit_

I suspect the disk manager pysdm that i had just installed today and it had crash during the previous session. The /etc/fstab file does not exist anymore and i cant rename the fstab.bak because the disk is read-only even for my root user

View 1 Replies View Related

Fedora Servers :: Mount.nfs4: Mounting Localhost:/home Failed - No Such File Or Directory

Nov 28, 2009

I can not use nfs from F10 client to F12 server. nfs mount on F10 to F12 times out anf nfs4 mount gives "mount.nfs4: mounting localhost:/home failed, reason given by server: No such file or directory" I have tried to close firewall and set selinux to permissive mode on both client and server with same result. Samba works fine. On server [root@flokipal ~]# mount -t nfs4 localhost:/home /media/tonlist mount.nfs4: mounting localhost:/home failed, reason given by server: No such file or directory

but

[root@flokipal ~]# mount -t nfs localhost:/home /media/tonlist
[root@flokipal ~]#

works

View 3 Replies View Related

Ubuntu :: Initramfs Boot Error - Mount: Mounting /dev /root/sys Failed: No Such File Or Directory

Feb 19, 2011

Okay, so on occasion when I boot into ubuntu I get this error

[mount: mounting /dev /root/dev failed: no such file or directory]
[mount: mounting /dev /root/sys failed: no such file or directory]
[mount: mounting /dev /root/proc failed: no such file or directory]

[code]...

I get the error when I open any of the kernel versions or any recovery mode. Ubuntu 10.10 Desktop is the only OS installed on the computer, which is a Lenovo S10-3. I can eventually get it to go away, sometimes by repeatedly unplugging it and plugging it back in, and sometimes I will boot into GParted, do nothing, then restart and it will work.I have found some solutions online, but all of them involve the error happening as a result of dual booting with Windows.I have made no major system changes recently, so I can't see anything like that being the problem.

View 3 Replies View Related

General :: Printing From Bash Shell / Concatenate Files Into One File With File Names Included?

May 11, 2011

I am supposed to take some small files, and print them to a specific printer, such that the small files are concatenated into one file. The file name has to be included in the file that gets printed.

Should I be looking to concatenate the files into one file with the file names included, and then print them?

something like: -printfunction -printername < file*

View 7 Replies View Related

CentOS 5 :: Error Mounting Device UUID=cee298a0-9c47-4a3a-ac84-23db4d20edd5 As /. No Such File Or Directory

Dec 22, 2009

CentOS 5.3 has been running fairly good except for a slow ethernet connection so I thought I would upgrade to CentOS 5.4 to see if that improved things. I had previously changed fstab and menu.lst to use UUID instead of LABEL in order to insulate myself from partition label changes I wanted to make. This worked fine in CentOS 5.3. When I attempted to upgrade from 5.3 to 5.4 using the installation disk and telling it to upgrade rather than do a new install, the installation correctly found my root partition as /dev/sdb8. When I proceeded with the upgrade I received the error:

"Error mounting device UUID=cee298a0-9c47-4a3a-ac84-23db4d20edd5 as /. No such file or directory. This most likely means the partition has not been formatted."

But of course it has been formatted and is my / partition running CentOS 5.3 as I type. how to fix this to get CentOS 5.3 upgraded ? Di I have to use LABEL in fstab and menu.lst for my partitions,or perhaps just for my root partition ? Any other ideas why this is failing ?

View 1 Replies View Related

General :: Add A File Extension To A Bunch Of File Names?

Oct 20, 2010

I have a considerable number of files in a subdirectory (some fascinating old military clips from archive.org - search on Big Picture if interested). Anyhow, I am downloading them using Internet Download Manager running in an XP virtual machine in VMWare on my Ubuntu 10.04 PC (due to the queuing, restart and speed capabilities of IDM). But I digress - the files are being saved on the host (Samba share) without a file extension. So I have a collection of files with names like

Quote:

The Douglas MacArthur Story
THEY WERE THERE (1960)

I wish to add the extension ".mp4" In Windows this is simply done with the command

Quote:

rename *. *.mp4

This of course does not work in Linux. I have researched the Linux rename command and reviewed a lot of examples. However, I have not found a way to add an extension to a batch of files which are named with no extension to start with. The spaces in the file names also seem to present an issue. At the moment I am renaming them from the Windows VM while they are sitting on the Samba share using the ancient File Manager program from Windows NT which works great on XP. I have experimented with the file rename facility in Gnome Commander however, it does not seem to want to do something so simple.

View 10 Replies View Related

General :: Mounting An Nfs Directory In UNIX On A System With Two NICs?

Jun 2, 2010

I'm trying to mount a folder located at 10.0.0.1:/pxe/ on eth1 but I'm not sure how to do this with two NICs enabled. The command mount 10.0.0.1:/pxe/ /mnt/pxe/ works fine when I only am using the one NIC the appropriate machine is on, but how can I specify to use eth1 when eth0 is also enabled?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved