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

Reverse order sort not working #252

Closed
arniotis opened this issue Jun 27, 2015 · 2 comments
Closed

Reverse order sort not working #252

arniotis opened this issue Jun 27, 2015 · 2 comments
Labels
Milestone

Comments

@arniotis
Copy link

the ls -sort command allows for reversing sort order by appending "-" to the end of the sort keyword; this, however, doesn't work right:

michael@taygetos:~/GoogleDrive/test2$ drive ls -l -sort size-
-- owner       6.00B        0B7L9Xx9YIQk9ODJfV2EwMG16RDA        2015-06-26 11:26:26 +0000 UTC   /test2/file4                                      
-- owner       45.00B       0B7L9Xx9YIQk9M2t2WU1McEd6QlE        2015-06-26 11:25:39 +0000 UTC   /test2/file1                                      
-- owner       31.00B       0B7L9Xx9YIQk9V2pjRnlIOV82c1k        2015-06-26 11:23:09 +0000 UTC   /test2/file3                                      
-- owner       13.00B       0B7L9Xx9YIQk9dW4zSWphcHhJM0k        2015-06-26 11:23:02 +0000 UTC   /test2/file2        

I propose a small fix in #251:

michael@taygetos:~/GoogleDrive/test2$ drive ls -l -sort size-
-- owner       45.00B       0B7L9Xx9YIQk9M2t2WU1McEd6QlE        2015-06-26 11:25:39 +0000 UTC   /test2/file1                                      
-- owner       31.00B       0B7L9Xx9YIQk9V2pjRnlIOV82c1k        2015-06-26 11:23:09 +0000 UTC   /test2/file3                                      
-- owner       13.00B       0B7L9Xx9YIQk9dW4zSWphcHhJM0k        2015-06-26 11:23:02 +0000 UTC   /test2/file2                                      
-- owner       6.00B        0B7L9Xx9YIQk9ODJfV2EwMG16RDA        2015-06-26 11:26:26 +0000 UTC   /test2/file4   

Cheers,

Michael

@odeke-em
Copy link
Owner

Thank you @arniotis for creating this issue.

@odeke-em odeke-em added the bug label Jun 27, 2015
@odeke-em odeke-em added this to the v0.2.5 milestone Jun 27, 2015
@odeke-em
Copy link
Owner

Addressed by #251

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants