Software :: Sorting Chinese Filenames In Alphabetical (pinyin) Order

Feb 15, 2010

I'm trying to get Chinese filenames to be listed in alphabetical order according to pinyin. Long ago I remember having to install a particular package for that to happen, but in the past year or so I believe that ubuntu at least was doing that automatically. On my most recent linux installation, however, I find that it's not sorting file names by pinyin order. I'm wondering if I have forgotten to install something this time.

View 1 Replies


ADVERTISEMENT

OpenSUSE :: Copy Files In Alphabetical Order?

Feb 8, 2010

I need to copy my music to a portable HDD in alphabetical order. My headunit in my car will only display the folders and files in the order that they were written to the disk so to have any form of logic to the album / track listings they need to be written to the disk in alphabetical order.

how to do this in openSUSE? I know dolphin doesn't do this.

View 9 Replies View Related

Ubuntu :: File List Now In Reverse Alphabetical Order

May 26, 2011

I am running fully updated ubuntu 10.10 and now, since 2 days ago, when I open a file
in open office, gimp or gedit etc the directories and files now appear in reverse alphabetical order.

View 8 Replies View Related

Applications :: File Processing Based On Alphabetical Order?

Jan 22, 2009

In Linux, the files were processing based on timestamp. How to process the files based on alphabets? My application is in windows. Here I am processed the files based on alphabetical order. While coming to linux its coming wrong.

View 5 Replies View Related

General :: Create A User List In Alphabetical Order?

Oct 22, 2010

I have a server with what appears to have 352 home directories (350 actually if you omit '.' & '..') & I am being asked to basically tally a list of whom all 350 users are in alphabetical order. Now I could sit here for days doing the 'finger' command to obtain their full name commented in '/etc/passwd' file but I would assume there is a script or way I could have Linux quirry the '/etc/passwd' file & take all the user 'comment' entries and export them to a list in alphabetical order. Does anyone know if this could happen and if so, how would I do something like this? I can't write bash / shell scripts to save my life

Code:
cmennens@mail]:/$ ls -l
total 160
drwxr-xr-x 352 root root 12288 Oct 21 13:41 home

View 7 Replies View Related

Ubuntu Multimedia :: VLC Wont Reproduce Files By Its Alphabetical Order?

Mar 24, 2010

This problem has been here for 2 months or so:

If I, in VLC, choose a folder with several mp4 or other multimedia format files, it will show em in the playlist in random order, definitively not alphabetical. that didnt use to happen before.

View 5 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 :: Tweaking Nautilus' File Sorting Order?

Dec 31, 2010

I've recently switched from Windows to Ubuntu and have a question regarding tweaking the character order Nautilus uses for alphabetical sorting. In my music/graphics/etc folder hierarchies, I have used a hyphen at the start as a 'hack' to 'sticky' some folders above the rest for quicker access. This worked fine in Windows, but Nautilus ignores a hyphen in it's sorting calculations. Is there anyway, simple or complex to replicate this behaviour in Nautilus?

View 4 Replies View Related

Software :: Get Nautilus To Sort Filenames In Lexicographical Order?

Mar 14, 2010

I have a bunch of files named in hexadecimal, which get displayed in order 0A, 0B, 0C, ..., 0F, 01, 1A, 1B, ..., 1F, 02, 2A, ... 2F, 03, 3A, ..., 9F, 10, 11, 12, ..., 99, A0, ...

How do I get them displayed in the correct order?

View 1 Replies View Related

General :: List The 'chkconfig --list' In Alphabetical Order?

Jan 7, 2010

list the 'chkconfig --list' in alphabetical order

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

Software :: Pinyin And Ibus ?

Oct 19, 2010

I run Fedora. I use the Ibus input method. After recent updates, the character ,zhe = English -ing ending comes out wrong.(See, even here it is wrong, if you have Chinese enabled)

View 14 Replies View Related

General :: Bash Versus Pinyin ?

Aug 23, 2010

I am trying my hand at Bash scripting. I have a file with lots of pinyin, which is the romanized version of Chinese characters and words. A typical entry looks like this,

"7 shuo1 to speak"

Seven is the number of the entry shuo is the pinyin, 1 is the tone mark and is the Chinese character.

What I would like to do is change the format so that it looks more like this:

7 shuo 1

Each field needs to be re-assigned to a variable in an array and then printed to the screen and saved to a file in the same order it was input. This is to prepare the data for another project I am working on in imagemagick.

I have spent all day looking at linux man pages and have very little to show for my efforts. What is the best way to approach this? grep, awk, sed...?

View 1 Replies View Related

Programming :: Php - Sort Numerical Descending Then By Alphabetical?

Mar 10, 2009

Using PHP 5.x. I would like to sort a set of values first numerically, then alphabetically. For example, here's my code so far:

Code:

<?php
print "<p style="font-family:verdana;font-size:10pt">
";
$myArray = array("1223:starfruit", "34112:oranges", "1223:zucchini", "321:apples", "34112:pears", "1223:tomatoes");

[code]....

I have fiddled with array_multisort but I can't seem to get my head around it or the many sort routines in PHP.

View 3 Replies View Related

General :: BASH Script Alphabetical Conditional Operator Query?

Mar 14, 2010

I am using "if" to force a word under the condition that the first letter of that word must be a letter of the alphabet, regardless of capitalization, using the " "" != "" " syntax.

Like so:

Code:
if [[ "$interface" != "WHAT DO I PUT HERE?" ]] ; then
echo "Invalid input"
exit 1
fi

View 5 Replies View Related

General :: Use Sort Command For Its Ascending Order And Descending Order?

Aug 18, 2010

in my text file of 5 columns 2 column is in DDMMYYYY format. (ie DATE OF BIRTH). how to use sort command for its ascending order and descending order.

Is the same can be use for the date format YYYYMMDD ?

View 3 Replies View Related

Ubuntu :: Automatically Sorting Files?

Mar 25, 2010

I download files onto my networked file server which is running Ubuntu 9.10.By default, all files are moved into the Downloads folder, I'd like to use a script or program to automatically send them into one of 5 shared folders based on what the file is.For example: archived files would be software by default, .avi or mpeg Videos, and .flac or .ogg would be Music.

View 1 Replies View Related

Programming :: Sorting 2 Dimension Array?

Aug 5, 2010

how to sort the 2 dimensional array below by column 1 then by column 2?

22 55
2222 2230
33 66
44 58
222 240

[Code].....

this is a small part in my awk script. the input data is not in file, but it was manipulated in my script.

View 6 Replies View Related

General :: Sorting A File With A Variable Name?

Jun 27, 2011

I am trying to sort a file, so I can compare it to another file later. I am storing the file name in a variable called curMo. I then call sort $curMo and it hangs for a very long time and I have to quit the process. why this is not working or how to make it work?

Here is part of my code:

#sort this file for this Location
sort -u $curMo -o $curMo.sorted

View 1 Replies View Related

General :: Sorting Files In A Directory?

Jan 6, 2010

I have some files in a directory like

file1.txt
file10.txt
file2.txt

[code]...

View 5 Replies View Related

Programming :: List Sorting In Python?

May 10, 2011

I have a list of list and I'd like to sort the list according to the last value of each row.

Let's say we have the list

L1 = [ [1,2] , [4,6] , [78,-3] ]

I wish to get

L2 = [ [78,-3] , [1,2] , [4,6] ]

Is there a simple way to do that in python?

View 4 Replies View Related

Programming :: Sorting A Dictionary File?

Nov 1, 2010

I have this dictionary file that has this format:

SUBSTITUTE_VALUE, Real Value
SUBSTITUTE_VALUE_2, Real Big Value
SUBSTITUTE_VALUE_HECL, Hardware Abstract
SUBSTITUTE_V, Valley Mem

I want to sort this file so the LONGEST Substitute Values are listed at the top ( so SUBSTITUTE_VALUE_HECL would be first in the list). Obviously I want to keep the related values tagging along with them, so the whole first line would be
SUBSTITUTE_VALUE_HECL, Hardware Abstract

Playing with sort This has me pretty close: sort dict.file -k1.1n,1

View 2 Replies View Related

Debian Configuration :: Sorting When Locale Is Set To UTF-8 In Squeeze?

May 6, 2011

I have a problem with sorting when locale is set to UTF-8 in Squeeze. Example:

echo -e "ą
a
b
c

[Code].....

View 8 Replies View Related

Fedora :: Nautilus Not Sorting Data Properly?

Jul 16, 2011

why nautilus is sorting my files in such a weird way? I would think it would sort numerically by the first number, then second number, etc.

View 13 Replies View Related

General :: How To Refresh Htop After Sorting (via Shift+m)

Jun 22, 2011

I love using htop, but I have noticed that whenever I sort by a parameter (for example, Shift+m for sorting by Memory usage), the htop stats stop dynamically refreshing. Is this intended? I also notice this with top as well.

View 1 Replies View Related

Ubuntu Installation :: Sorting Out A Triple Boot?

Feb 5, 2010

For completeness here's the history that got me to this point:

Stage 1
/dev/sda - disk with XP OS, set to be first boot disk in BIOS
/dev/sdb - a small data disk to supplement sda

[code]....

View 4 Replies View Related

Ubuntu :: 'sort', Not Sorting Some Characters, Just Ignoring?

Aug 28, 2010

i used 'sort' to sort a 160k line file and looked though it and noticed this

RS:HALP
RS HD
RSHD

[code]....

View 2 Replies View Related

Ubuntu :: Sorting Files Based On Filename?

Nov 2, 2010

I'm currently trying to organize a media server so that things will be in some kind of logical order rather than the current setup of dumping everything of a certain content type into a single folder. However, the size and diversity of content within these disorganized folders precludes me doing things manually. Does anyone know of a program or script that could sort the files into folders based on part of a filename

View 7 Replies View Related

General :: Sorting A First Non-numerical Column In A File?

Jul 13, 2011

I have a file like:

ER- V67
ER+ V68
ER- V69
ER+ V70

[Code]....

I am using the code:

sort -k1

but it prints it by sorting the second column.

View 8 Replies View Related

General :: Sorting In Aggregate Rather Than Tree Fashion With 'ls -Rt'?

Apr 28, 2010

The command: Code: ls -lRt Shows a recusrive listing, and sorts by modification time. But this in in tree fashion, where it first lists the contents of the current folder sorted by time, and then the contents of each child folder sorted by time. How would one accomplish this type of sort, but with an aggregate listing - all items recursively sorted together, rather than by individual folder?

View 3 Replies View Related







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