Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [file-sorting]

The tag has no usage guidance.

1
vote
1answer
38 views

Sorting files and directories differently in the file browser

Is it possible for the file browser to, for example, sort files by Modified date and directories alphabetically? I never care about the most recently modified directory and can find the one I want ...
2
votes
1answer
29 views

Is there a way to provide customized sorting rules to “ls” command?

I work in material science so many of my directories are named by chemical element or equation. As such, ls and ls -v list my directories out of chemical order. I know I could rename my directories so ...
9
votes
5answers
634 views

Listing files in a directory including contents of subfolders with sorting

I'm looking to list the entire contents of a directory, including the contents of subfolders but sorted by filesize. Thus far I've managed to get as far as listing and sorting whilst still being ...
1
vote
2answers
218 views

Kubuntu 18.04: How does Dolphin file manager sort files “naturally”?

I have the following files: $ ls _010.txt 01.txt 10.txt 1.txt 3.txt mov001 mov00a _mov00A mov00B mov01A 010.txt _0mov00A _1mov00A 2.txt 4.txt mov002 mov00A mov00aA mov010 $ I ...
1
vote
2answers
209 views

How to sort files by “date modified” in Dolphin 15.12.3 in FTP-folder

I searched this question through several sites and boards, but it seems no one asked this way. I know abort "Date" column in "Details view mode", but it sorting by "date created", not modified. I ...
0
votes
0answers
448 views

how to sort files first before directories in 16.04 nautilus like in previous LTS version?

Before, in 12.04&14.04, my download folder was nicely sorted by date : nautilus opened on top of the list with (newer)files first and then folders. In 16.04 the directories are displayed first ...
0
votes
1answer
317 views

Change the sort order when using grid view in Files (Nautilus)

Ubuntu Files 3.14.3 (also known as Nautilus) has two view modes - grid view & list view. When in list view I can control which field is used to sort. But when I go back to grid view it doesn't ...
1
vote
1answer
1k views

How to sort files by multicolumn

My file has 3 columns and I want to sort the data in the file by column 1 (DESC), column 2(ASC) and save the result to another file. How can I do that?
16
votes
3answers
426 views

How to name a file to be the very first in Nautilus?

New versions of Nautilus are cool, because they skip nonalphanumeric letters at the beginning of any file name and sort files according to the first alphanumeric letter (if any). But how to name a ...
1
vote
0answers
372 views

Save/open-Dialog, file order, directories first

The file-open/save dialog can be sorted alphabetically by clicking on the column header or by manipulating ~/.config/gtk-2.0/gtkfilechooser.ini as described in the answers here and here. However, I'...
2
votes
1answer
261 views

How to add a “Type” column to the file dialog?

I haven't used Ubuntu for several years, and now that I'm giving it another try, the oversimplification and removal of features are kind of baffling. The screenshot says it all. How can I add a "Type"...
1
vote
0answers
43 views

Sorting files by name [duplicate]

Is there a way I can change the way files are currently "sorted by name", to include common non-alphabetical characters like +-_? I don't mind getting my hands dirty if someone can point me to the ...
0
votes
3answers
548 views

Open File dialogue - Filtering

So, easy question but I can't seem to find the right answer yet. Within Windows (eek!) using say notepad++, open file, enter *st* would show me all files containing "st" How do I do the same in ...
0
votes
3answers
133 views

Command line file sorting, copying

Copied from my terminal . . . dan@Silver:/media/dan/RAID/MUSIC$ grep -r '.mp3' ./ > cp *.mp3 /home/dan/Music/ grep: input file ‘./cp’ is also the output I have a music collection on an NTFS ...
1
vote
1answer
197 views

Sorting files by ASCII conventions in Ubuntu 14.04

This has been an incredible annoyance for me because it should be so easy to fix!!! I want ASCII conventions to be applied when sorting files (both in the terminal and in nautilus) because the "...
1
vote
1answer
419 views

Organize desktop by on Nemo

I'm using Nemo for my folder manager and when I press the right mouse button the only option to sort my desktop by is by Name. Is it possible to sort by other things like Date Modified?