Ubuntu :: Change The Extensions Into Lower Case With One Command?
Jun 9, 2011
There's got to be an easy way to do this and I can't find it: I have 50 files with the extension .JPG. I want to change the extensions into lower case with one command.
View 7 Replies
ADVERTISEMENT
Mar 12, 2010
I tried to add my wife , and when I put in a password for her, this error comes up."Please set a valid user name consisting of a lower case letter followed by lower case letters and numbers." I did all that and I still can't set a password for her.
View 3 Replies
View Related
Nov 28, 2010
I have a file like below. For all the lines (except for the ones listed as 'Unknown Owner' and N/A') I would like to change to lower case and concatenate the first and last names.Before:
Code:
aaa.bbb.ccc.ddd,Unknown Owner
ddd.eee.fff.ggg,N/A
hhh.iii.jjj.kkk,John Doe
aaa.bbb.ccc.ddd,Mary Jane
[Code]...
View 4 Replies
View Related
Oct 28, 2010
Kernel 2.6, Slackware 12.0
mkisofs 2.01
I do 'mkisofs -iso-level 1 -o image John Smith.txt'. Only an example. When I mount image, ls outputs john_smi.txt. So it has shorten to 8.3 and translated ' ' into '_'. This is in accordance with the manual, although it doesn't say the conversion will be done.
Quote:
-iso-level level
.........................
With all iso9660 levels from 1..3, all filenames are restricted to upper case letters, numbers and the underscore (_).
...........................
However, as it did not reject the file name, it should have converted it to all upper case, it seems to me. And -iso-level 2|3 does the same thing.
Code:
root@darkstar:~# mkisofs -iso-level 1 -o image John Smith.txt
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
[code]....
View 5 Replies
View Related
Oct 25, 2010
Its really annoying I don't have a monitor I just use VNC and putty to control my computer and when ever I vnc in and hit d all the windows minimize I tried deleting everything under .gnome2,.nautilus,.gconf and nothing. I love Ubuntu but this upgrade has been nothing but problems. I did a complete reformat and its a huge pita. its problem after problem never had this with 10.04
View 8 Replies
View Related
Aug 7, 2010
I want to display 4 options using the case command and refresh the screen when options 1 and 2 are chosen (no changes to the options and you get asked again to chose option), but give a message for option 3 and exit on option 4. I set this up with the script below, but choosing option 1 works and choosing option 2 exits the script.
Code:
#!/bin/bash
#testing options
Option="0"
[code]....
View 7 Replies
View Related
Jan 1, 2010
I downloaded a source code package for an old multi-platform game. unfortunately, the author, when he created the .zip archive of the source code, zipped it in DOS, and so all of the file names are in all caps. when i run the configure script, it errors out, not being able to find any of the files (which originally were in lower case.
so, other than the extremely tedious process of renaming each file, one by one, is there any way to fix this so it will build properly? this game was written in 1996, so i don't think i'm the first person to bump into this problem.
View 6 Replies
View Related
Jun 2, 2010
I have about a hundred and fifty html files that I would like to change image file extension on from gif to png. I want to change this line:
<img src="images/robopix/web/ROBOTNAME.gif" border="0">
to this:
<img src="images/robopix/web/ROBOTNAME.png" border="0">
Trouble is that ROBOTNAME is different in each of the hundred and fifty files. To make it harder, there are other gif filenames on these pages that I do not want to change. I only want the extensions to change if the address prefix is 'images/robopix/web/'. Is there any way to do this with a quick program/sed command rather than manually editing a hundred and fifty files?
View 8 Replies
View Related
Apr 20, 2010
i was just wondering if anybody knows of a command that i can run in the terminal to HIDE file extensions.I would apretiate this command and i dont mind if it is for ubuntu or windows.
View 2 Replies
View Related
Dec 28, 2010
I have a directory of a load of files without extensions. I know what the filetype should be, so is there any way of batch renaming the files to append a given extension onto it. i.e. text would be renamed as text.txt?
View 3 Replies
View Related
Mar 30, 2010
When I try to rename a file in a mounted NTFS file system by only changing the letter case, I receive an error message saying that it is not possible because the file already exists. This must be because ntfs is not case sensitive as regards determining a file name. However, it can use and remember whatever case you want to use. So I can change the letter case in the file's name in two steps: saving the file with a different name first and then renaming it again with the original name and the letter cases I want to use.
View 9 Replies
View Related
May 9, 2010
I have a minimal debian install, with not much more than enough to run scrotwm, I want to change the basic arrow cursor to a png I have. Is there a simpler lower level way of achieving this without having to install and modify an existing cursor theme. I installed x11-apps just to get xcursorgen... though idk if this has been an essential step or not. Anyway, I have run it on my arrow.png/arrow.cursor to create a "default" cursor file... though am lost as to where to go from there. I have no idea where the existing default cursor is located, though i suspect it's a font cursor not a icon cursor...
View 1 Replies
View Related
Apr 9, 2010
I wanna see the wifi signal strength.But when i run the command iwconfig , it tells me 'no wireless extensions'.By googling I found that I need to enable config option CONFIG_NET_RADIO.I see that this has to be done in boot which has config files.So I typed the command grep CONFIG_NET_RADIO /boot/<config-2.6.31.5-127.fc12.i686> (my fedora version is 2.6.31.5-127.fc12.i686).But I got the error as "bash: syntax error near unexpected token `newline' ".I dont know the reason.I also want to know if I have to install driver(ndiswrapper)for viewing wireless signal strength.I thought that the drivers will present default(am not sure).
View 9 Replies
View Related
Jul 9, 2010
Is there any inbuilt functionality in Unix shell script so that i can able to convert lower case string input to an upper case? I dont want to use high level languages like java,python or perl for doing the job.
View 4 Replies
View Related
Nov 8, 2009
Two files contain:
file1:
cat
dog
fish
hamster
file2:
cat
fish
ferret
dog
How do you change the case of the letters in file1.txt to uppercase and compare with file2 all in one command?
View 2 Replies
View Related
Apr 29, 2011
I am not able to figure out how can I do case-insensitive search using the find command.
I tried
find . -name -i pattern
And it does not work.
View 2 Replies
View Related
Oct 6, 2010
I've written a simple perl code to learn switches in perl.My code is pasted below,
#!/usr/bin/perl
$opt = 1;
switch($opt) {
[code]...
View 3 Replies
View Related
Aug 28, 2010
got new lynx on notebook problem: cant see the lower end of windows, so i can't see what i'm klicking on...
View 2 Replies
View Related
Sep 1, 2011
I'd like to change an application's niceness from the command line but by process name rather than PID.
I can already do this:
sudo renice -10 9461
To change niceness by PID, but this isn't a static value. How do I go about replacing the 9461 with an Application-Name so the same command always works to change the niceness?
View 2 Replies
View Related
May 9, 2010
How to lower the resolution of all the images in a pdf? I searched around and couldn't find an answer to this. I have a pdf file of a textbook that I use in school but each page is an image of 2 pages of the textbook (left page, right page when the book is opened) and each image is of a very high resolution. I downloaded pdftk and pdfedit but for such a simple problem, I'm having trouble. Is there any way to do this?
I have tried converting the 380 MB PDF file to PostScript but after an hour of doing that, it stopped, and the PostScript only had about 17 pages instead of the 733. So converting it back to a PDF file to utilize pdftk's algorithms would have been worthless. I know I could split up the pdf file into sections but I'd rather just scale down all the images, or make them mid quality PNGs or high quality JPGs just so the filesize can be halved.
View 3 Replies
View Related
Oct 22, 2010
I need to run fsck on my Ubuntu 10.04 machine, but when trying to enter lower runlevel (with init 1), computer freezes with error message "could not write bytes broken pipe". So, how I can fix this and/or check my disk with fsck?
View 1 Replies
View Related
Jan 9, 2011
I installed 10.04 1st by making a partition with bootcamp on MacOSX.Then I formatted the partition according to Ubuntu's instructions. I didn't install rEFIt, because I prefer to just hit the alt (option) key.I made the necessary adjustments according to URL...Community Ubuntu Documentation - and everything seemed to be working fine.I upgraded to Maverick and everything seemed to be working fine aswell.But then I noticed, that the wireless signal keeps failing and I'm asked to put the password again and again..
I don't think this is due to the upgrade from 10.04 to 10.10, but I just noticed it recently, maybe because of the air humidity, the signal was stronger a few days a go.. don't know!!Is there anything I can do?Perhaps install a new driver, or another wificlient, like Wifi-Radar??
View 6 Replies
View Related
Feb 15, 2010
How can I change the DNS server command because every time I restart my computer I have to write this in the terminal: sudo gedit /etc/resolv.conf
View 4 Replies
View Related
Dec 24, 2010
I just searching a way to modify a hotkey like in system->preference->keyboard shortcuts but in command line, because I want to make a configuration file and I need to delete a hotkey.
View 3 Replies
View Related
Mar 10, 2011
I understand the basics, where certain files are located, how to change basic things, and very basic stuff with the command line (I use it to organize my files mainly). If at all possible could you supply me with a guide - be a website or a book to:
1) Just the general layout of the system (whats in the depth of the /etc folder and what naught)
2) How to more efficiently use the command line. As in where I am not giving in and using the GUI all the time.
3) What programming language(s) should I learn. I am thinking C and Python to start.
View 1 Replies
View Related
May 13, 2011
I explain in with an example:
Imagine you want to know which command is carried out when, after executing gnome-mouse-properties, you go to the Touchpad tab and click on "Enable mouse clicks with touchpad".
Another example:
Imagine you want to know the command that is executed when, after running gnome-appearance-properties, you go to the "Visual Effects" tab and click on None.
I've had a look via gnome-system-log in all the log files of the left with no success. Perhaps the commands that run when one changes things in the GUI menus are logged in some other file. Or perhaps they are not stored in any log. In this case there is probably some terminal command to know it, or some program for this.
I think that know that no xorg.conf is used by default this is something to have into account.
View 3 Replies
View Related
May 15, 2011
I decided to install Chromium OS to my dad's netbook, and it works perfectly. The only problem is that i can't change the time. Luckily, I can access a command line by pressing CTRL+ALT+T. So maybe I can change it from the command line.
View 5 Replies
View Related
Jul 3, 2011
Basically, I'm in the terminal and I type in:cd desktop (or downloads or whatever)and nothing happens. I'm probably just being legendarily thick, but where am I going wrong?
View 9 Replies
View Related
May 24, 2010
I upgraded to Ubuntu 10.4 and for various reasons I found myself selecting a KDE session without KDE being installed. This has locked me into a situation where I can't boot up/log in properly. I can get to a command line and start the x environment as root. How can I re-set any user's preferences to default (via the CL)? Ie, I'd like to re-set a user (myself) so that I can again choose the log in to a gnome session.
View 2 Replies
View Related
Jan 4, 2010
I want to move notifications both from pidgin, rhythmbox and other apps to the lower right side so that they are not so intrusive, I don't know if it's possible.
View 1 Replies
View Related