Questions tagged [file-sorting]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
41 views

How to instruct Ubuntu to take into account spaces when sorting but maintaining case insensitive order?

Ubuntu does not consider spaces (and other non-alphabetic characters) when sorting, including files. I am interested in taking them into account in the sorting, but keeping the listing case ...
0
votes
1answer
28 views

Is there a simple way to filter files by date across all directories?

I have a 64GB SD card mass storage. I recently bought a 64GB USB drive to duplicate all my files from the SD card in case of a failure. I would like to keep a daily update of the USB drive to mirror ...
0
votes
0answers
69 views

How to display the dimensions when file sorting (height-width) resolution? (in column list of video files)

New user. Coming from windows 10 I really liked being able to identify the dimensions of pictures and videos just by scrolling through your files in the column list when you check the toggle box. ...
1
vote
0answers
58 views

Nautilus does not remember sort order of home directory

On my machine (Ubuntu 20.04), default sort order of Nautilus is set to "name". $ gsettings get org.gnome.nautilus.preferences default-sort-order 'name' Yet, when opening Nautilus, my home ...
0
votes
0answers
29 views

How to make Files sort filenames properly

I'm using Files 3.38-1 stable. I'm trying to sort files A-Z, but the results don't match what I see from ls. The order looks like this: 2019XXXX-XXXXXX-... <omitting files in the correct ...
6
votes
4answers
306 views

Sort files by extension in file explorer

I'm using Ubuntu 20.04 LTS and I want to sort files in a file explorer by their extension. I found the possibility of using nemo and sort the files by the Detailed Type but this doesn't really work ...
1
vote
2answers
87 views

Where is the Nautilus/file sorting algorithm defined?

When I look at files as listed in Nautilus (sort by name), if there are both English and non-ASCII (in my case Japanese) characters, some characters (kana) are mixed with the ASCII characters out of ...
2
votes
1answer
43 views

Why do Filenames created under UTF-8 not match the UTF-Codepage layout?

According to Wikipedia's utf-8 Codepage Layout, its character-set is as follows: ! " # $ % & ' ( ) * + , - . / 0-9 : ; < = > ? @ A-Z [ \ ] ^ _ ` a-z { | } ~ But (excepting /), ...
2
votes
2answers
760 views

sort is very slow for big files

I want to sort file (with removing duplicates) which contains wordlist with a size of almost 25GB. I am using sort command in Ubuntu terminal but it takes hours to output sorted file, the command is: ...
1
vote
1answer
409 views

How do I sort a file based on both letters and numbers?

A file with this content: abc[0] abc[100] abc[101] . . abc[127] abc[19] abc[1] . . abc[9] xyz[0] xyz[100] xyz[101] . . xyz[127] xyz[19] xyz[1] . . xyz[9] I want to retain the ...
1
vote
1answer
753 views

Sorting files to be used in for-loop in bash file

I try to remove duplicates from a directory with 20k files. I figured that duplicate files, although having different filenames, have the same filesize. So I want to sort them first on filesize and ...
0
votes
1answer
266 views

Recursively list the files in a specific directory and order according to size

I'm fairly certain that ls -R will recursively list the contents of the current directory however, I can't work out how to order/sort this in a specifified way. Can I adjust the ls -R function to ...
1
vote
1answer
77 views

Visual sorting of files by name in ~/Documents

I have lot of documents in my ~/Downloads folder. Why the documents are not sorted by default in alphabetical order? Is there anyway to organize them so? Only on ~/Desktop I see an option for ...
1
vote
1answer
147 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
57 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
1k 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 ...
2
votes
2answers
981 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 ...
2
votes
2answers
922 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
642 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 ...
1
vote
1answer
554 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 ...
2
votes
1answer
5k 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
2answers
1k 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 ...
2
votes
0answers
564 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
404 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
47 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
722 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
153 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
229 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
450 views

Organize desktop by name in Nemo

I'm using Nemo as my file manager and when I press the right mouse button the only option to sort my Desktop is by Name. Is it possible to sort by other values, like Date Modified?