Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Featrue request] Sort the trash-list output in chronological order #350

Open
BrettDean opened this issue Aug 28, 2024 · 0 comments
Open

Comments

@BrettDean
Copy link

BrettDean commented Aug 28, 2024

Describe the solution you'd like
Sort the trash-list output in chronological order, and if the times are the same, sort by file path names in A-Z order.

Additional context
trash-list version: 0.23.11.10
This is the current trash-list:

# root @ ubuntu in / [20:02:47] 
$ trash-list          
2024-08-28 19:50:29 /wget-log.2
2024-08-28 19:50:29 /wget-log.5
2024-08-28 19:50:29 /wget-log.14
2024-08-28 19:50:29 /wget-log.8
2024-08-28 19:50:29 /wget-log.23
2024-08-28 19:50:29 /wget-log.9
2024-08-28 19:57:46 /test.trash
2024-08-28 19:50:29 /wget-log.20
2024-08-28 19:50:29 /wget-log.21
2024-08-28 19:53:57 /home/temp/rest
2024-08-28 19:50:29 /wget-log.4
2024-08-28 19:57:37 /test.trash
2024-08-28 19:56:20 /test.trash
2024-08-28 19:50:29 /wget-log.26
2024-08-28 19:50:29 /wget-log.11
2024-08-28 19:50:29 /wget-log.16
2024-08-28 19:50:29 /wget-log.24
2024-08-28 19:50:29 /wget-log.1
2024-08-28 19:50:29 /wget-log.22
2024-08-28 19:50:29 /wget-log.12
2024-08-28 19:54:33 /1234
2024-08-28 19:50:29 /wget-log.7
2024-08-28 19:50:29 /wget-log.18
2024-08-28 19:50:29 /wget-log.6
2024-08-28 19:50:29 /wget-log.13
2024-08-28 19:50:29 /wget-log.25
2024-08-28 19:50:29 /wget-log.17
2024-08-28 19:50:29 /wget-log
2024-08-28 19:50:29 /wget-log.19
2024-08-28 19:50:29 /wget-log.15
2024-08-28 19:50:29 /wget-log.10
2024-08-28 19:50:29 /wget-log.3
2024-08-28 19:52:11 /mnt/MyPassport/1.sh
@BrettDean BrettDean changed the title [Featrue request] Sort the list output by trash-list in chronological order [Featrue request] Sort the trash-list output in chronological order Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant