The sorting tag has no wiki summary.
6
votes
1answer
2k views
How can I disable Windows Vista / 7 Explorer's “auto sort” after file copying?
One of the things that really annoys me in Windows Vista / Windows 7 is the new "auto sort" feature.
In Windows XP, whenever you copy a bunch of files to a folder, they are all placed at the end of ...
2
votes
3answers
14k views
Automatically sort music files into folders by album/artist names
I have a large collection of music files (let's say mp3), with metadata, but all are located on the same folder.
I wish to automatically organize all of them according to their meta data inside ...
1
vote
1answer
225 views
Microsoft Excel 2003 - Merge by Column
I'm trying to merge two excel files, here is the structure of the files:
[A] [B]
I want to add the column B from one file to another as column C, but the thing is that they have some rows under A ...
3
votes
2answers
203 views
How to reorder folders? (as displayed in `ls -U`)
I've got a number of unordered folders on a memory stick, which my car stereo shows in order of their real position on the stick (i.e. same as ls -U) What's the easiest way of physically reordering ...
11
votes
4answers
8k views
In bash, how to sort strings with numbers in them?
If I have these files in a directory
cwcch10.pdf
cwcch11.pdf
cwcch12.pdf
cwcch13.pdf
cwcch14.pdf
cwcch15.pdf
cwcch16.pdf
cwcch17.pdf
cwcch18.pdf
cwcch1.pdf
cwcch2.pdf
cwcch3.pdf
cwcch4.pdf
cwcch5.pdf
...
3
votes
2answers
657 views
How to physically reorder files `03.mp3 01.mp3 02.mp3` (`ls -f`) in a directory?
The physical order of the files matters when I copy them onto my USB stick and listen in car mp3 player. Most of my music album folders are unsorted, e.g. ls -f may produce:
03.song3.mp3
01.song1.mp3
...
5
votes
1answer
3k views
Windows 7, any way to sort folders and files all mixed together?
Is there a way to sort folders and files by their name all mixed together in Windows 7?
It would be easier to understand if you look at THIS page.
I want my folders and files arranged like the ...
2
votes
1answer
970 views
Outlook 2003: How to group by flag AND sort by date?
I'm trying to get Outlook 2003 to do the following:
Group the emails in my Inbox by FLAG and then sort by DATE.
This SHOULD be accomplished by the following settings:
It seems to work, as I get ...
20
votes
10answers
13k views
Unix: ls, how to sort first directories then files etc
I would like to use ls command to first show direcotries and then files. I tried
ls -la | sort -k 1
But I got a wrong order.
4
votes
1answer
736 views
How can I sort a folder in OS X Lion without having to group files as done with “Arrange By”?
I'm sorry to say there are several things I liked better in Snow Leopard. Sorting files in Finder is one of those things.
If I "Arrange By" -> "None" it does not group items and it looks like 10.6. I ...
1
vote
4answers
1k views
Sorting files (images) and then renaming them automatically according to the sort
We want to sort image files in a directory and want them to renamed according to the order we gave.
Is there a tool that can do this?
(os: windows xp)
3
votes
4answers
1k views
How to sort Spotlight results by size in the Finder?
How do I sort search result by size in Finder? I would prefer some sort of setting, or shell plug-in. I'm using this to clean my hard drive by finding and deleting the largest files first.
I'm not ...
2
votes
1answer
173 views
Why is sort -k5nr not a syntax error?
$ ls -l | sort -k 5 -n -r
$ ls -l | sort -k5nr
I find out these two command generate the same output.
But I don't understand why I can combine 5 with n?
Why not a syntax error?
edit:
$ ls -l | cut ...
0
votes
1answer
537 views
What Windows app can sort a huge XML file?
I have some enormous XML-based configuration files, with 125000 lines in them. The problem is that they are auto-generated by the system I use, and "child" tags are in a random order within their ...
0
votes
3answers
788 views
Sorting is not consistent using the Unix command 'sort'
I'm running the command:
zcat [File] | sed "1d" | sort -t $'\xE7' -k [field to be sorted] > [file].sorted
When I run this on File A, sorting on field 1, I get the following result:
11622400 , ...