Fedora :: Change Certain Letters In Filenames To Uppercase?

May 22, 2010

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.

View 2 Replies


ADVERTISEMENT

Software :: Shell Giving Default Uppercase Letters

Dec 8, 2010

my shell is giving default upper case letter.where and what changes i need to make so that it should give lower case letter..

View 5 Replies View Related

Server :: Logrotate For Logs That Change Filenames

Nov 26, 2010

Say that a certain server process generates log files and names them according to the current date; e.g.

server.nov-20.2010.log
server.nov-21.2010.log
server.nov-22.2010.log
server.nov-23.2010.log

i'd like to have logrotate compress the logs that are older than 3 days. Is this possible with logrotate, or do i just schedule a cron job to bzip everything under the folder older than 3 days?

View 1 Replies View Related

Ubuntu :: Change Password To Be One Of Three Numbers Or 3 Letters Only?

Jun 2, 2011

At first I apologize if the subject was in the wrong place
The reason is that I do not speak English
And enlisted Google to translate can I register and add this topic
I have a question:
Can I change the password to be one of three numbers or three letters only

I use ubuntu 10.04

Note: I know the old password I just want to change

View 6 Replies View Related

General :: Sed - Change And Capitalize Some Letters In Words?

May 9, 2011

I'm trying to use Sed to change all "l" letters with "I" in capitalized words something like this:

1. ONlON -> ONION

- and as opposite change the all "I" with "l" in a word in small letters such as:

2. DiIbert -> Dilbert

For the first case I'm using the below sentence which unfortunately changes words such as "let" in "It"

Code:

sed 's/[:upper:]*l[:upper:]*/I/g' test.srt

For the second case the below command seems to work but it might have a side effect as the one used in the first case:

Code:

sed 's/[:lower:]*I[:lower:]*/l/g' test.srt

View 7 Replies View Related

Software :: Bash - Rename Filenames With Corresponding Filenames?

Dec 1, 2009

I got a filename called like this:

beach---------20090808-110000.ogg
beach---------20090808-120000.ogg

It's like this:

name----------YYYYMMDD-hhmmss.ogg

Now Im splitting these hourly files into 1 minute files. I get then this output sofar properly:

beach---------20090808-110000_00.mp3
beach---------20090808-110000_01.mp3
beach---------20090808-110000_02.mp3
and so on....

the 00, 01, 02 and up are the minutes it has splitted it. Now I need a script, after it did this, to rename the file names into this:

beach---------20090808-110000.mp3
beach---------20090808-110100.mp3
beach---------20090808-110200.mp3
beach---------20090808-110300.mp3

View 4 Replies View Related

OpenSUSE :: Typing Greek Letters Instead Of English Letters

Dec 12, 2010

Recently I faced a problem in typing in English in OpenSuse 11.3.When I try to type in English it shows me Greek letter and worse than that I think it is really Greek (not only in font) because when I enter my passwords or try to type a command in terminal I get error,I tested with UK and USA and all other English languages and I still have this problem. I even do reset in my keyboard layout setting and in KDE setting but it didn't help.

View 3 Replies View Related

General :: Comparing Files - Change The Case Of The Letters In File1.txt

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

Software :: Change Letters To Unicode Numbers In OpenOffice Documents

Jun 27, 2010

In M$ Word, if you press Alt+X, the letter behind the cursor will become a Unicode hexadecimal string. Where is that functionality in OpenOffice.org Writer?

View 1 Replies View Related

Ubuntu :: Program To Edit Grub For Add A Picture Behind The Letters Add New Lines And Change The Name Of The Menus

Oct 29, 2010

So I've been trying to find a program to edit grub ,so that I'll be able to add a picture behind the letters add new lines,and change the name of the menus. I know in Backtrack that I used a program,I don't really remember which one it was,I think KGrubEditor,but that is a KDE app,and I cannot find a place where I could download it anyway. Do you guys know any alternative,or any way I could do this? I know how to edit grub.cfg,but I want some features besides that.

View 2 Replies View Related

Ubuntu :: Bulk Change Filenames To "cat Names-list.txt"

Mar 29, 2010

I'm looking for something like:

Code: for x in *.mkv; do rename "$x" "${line_from_filenames.txt}.mkv"; done; ls -1 ~/kids/movies/*.mkv
00.20080903fckdlowp.mkv
01.20080911fckdl2fd.mkv
02.20080925fckdlgrs.mkv
03.20081026fckdlbh7.mkv
04.20081206fckdli90.mkv
05.20090214fckdmkni.mkv
[Code]....

View 7 Replies View Related

Fedora :: Create Filenames Using The Date

May 5, 2010

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:

OriginalName.tar.gz --> AnotherName-30-05-2010.tar.gz

Is there an easy way I can accomplish that? How?

View 14 Replies View Related

Fedora :: Get A Font Where Letters Are Outlined?

Jan 31, 2011

What's a simple way to print something with a font where the letters have dark outlines around them and a white interior? Is there a combination of settings and fonts in Open Office that would achieve that? I want to print on ordinary 8 1/2 by 11 inch paper.

View 1 Replies View Related

Fedora :: Edges Of The Letters Leave Blurring In FC 15

Jul 22, 2011

After the completely new installation of Fedora 15 the letters are ugly in comparison with FC 14, no matter which font. It doesn't help to set anti-aliasing manually. The edges of the letters leave blurring.

View 13 Replies View Related

Red Hat / Fedora :: Different Colored Letters In Command Prompt

Feb 12, 2011

I am working with Linux red hat project for my school projects. I am in command prompt and I see different colored letters. I have words in green and words in blue. I think the blue words are directories and the green ones are files is this true.

View 1 Replies View Related

Fedora :: Xrvt-unicode Small Letters 'w' And 'm'?

May 19, 2011

This is sort of weird, and hard to explain. In uxrvt, my 'w' and 'm' letters are tiny.Here's a screenshot: this is my ~/.Xdefaults:

Code:
URxvt*foreground:White
URxvt*background:Black

[code]....

View 5 Replies View Related

Ubuntu :: How To Put `hostname` In Uppercase

May 3, 2010

How i put `hostname` in uppercase in this case:date +"%Y%m%d%T" > date_`hostname`.txt Best wishes,Andr Barradas

View 3 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

Server :: How To Allow Uppercase Username For Auto Login?

Jun 3, 2009

I have users created in Linux box with lowercase name, from one of my DB team from AS400 server they are trying to run a script from which they could only pass usernames only in "uppercase".
my question is how to allow the username if it comes in uppercase in linux (note: lowercase user shhudnt be changed to uppercase as well we shudnt add new user in uppercase)

View 3 Replies View Related

Programming :: Perl - Test If String Is Uppercase

Jan 6, 2010

In my perl script I'd like to test if a string is written in uppercase letters or not. How can I do that? This type of test don't seem to work, so there must be other ways of doing this:

Code:

...return true.

I can create a subroutine that compares each character aginst a list of uppercase letters, but I'm hoping there's allready a build in routine in perl that does this...

View 14 Replies View Related

General :: Explanation Of Command To Uppercase First Letter Of Filename

Jun 10, 2010

I'm trying to learn to rename files with the command line, and after browsing around a lot of pages I finally found a command that uppercases the first letter of a file, but the problem is that I want to understand the meaning of each command. The command is:
for i in *; do new=`echo "$i" | sed -e 's/^./U&/'`; mv "$i" "$new";done
I understand the 'for' kinda... but not the 'echo' or '`' and especially the sed command.

View 4 Replies View Related

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

Server :: Uppercase Usernames In / Etc / Sudoers Triggers Warnings

Jan 6, 2010

We're syncing users from Active Directory over to our linux LDAP server (Red Hat Directory Server). The user names on the AD side are all written in uppcase letters, which is the company policy.The uppername usernames causes problems when setting up /etc/sudoers, since uppercase words are interpreted as aliases. For example, if I add user KENNETH to a User_Alias (i.e. something like "User_Alias ADMINS = KENNETH"), I will get a warning from visudo which expects KENNETH to be an alias and thus not a username. Despite the warning, sudo does seem to work correctly. But is there a way to tell visudo or sudo that usernames are uppercase, and should not trigger a warning? Or are there other ways to go about this sort of thing?

View 2 Replies View Related

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 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

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

Programming :: Bash: Rename Files In Alphabetical Order And Make Extensions Uppercase?

Oct 21, 2010

I am trying to write a bash script that will extract a .cbr (.rar) file, traverse the extracted files in alphabetical order and rename them 001.JPG, 002.JPG, 003.JPG, etc.So far I only have this much to extract it:

Code:
#!/bin/bash
#

[code]....

View 8 Replies View Related

Ubuntu :: Can't Type "HTTP" (uppercase) In OpenOffice.org

Dec 27, 2010

OOo doesn't let me type uppercase word "HTTP". It always converts it to lowercase afterwards. I tried to turn off automatic URL recognition, but it doesn't help.

View 5 Replies View Related

Programming :: Fopen Bug In Filenames?

Aug 20, 2010

I try to call fopen with path like

Code: char *tmpbuf = (char*) malloc(BUFSIZE);
strcpy(tmpbuf, "/home/schmidt/images/4414b-22.jpg");
FILE *fd = fopen(tmpbuf, "rb"); or

[code]....

View 3 Replies View Related

OpenSUSE :: Fix Invalid Filenames In Thunderbird

Jun 5, 2010

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)

View 9 Replies View Related







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