Bug 3715 - smbclient: Allow sorting option for ls
Summary: smbclient: Allow sorting option for ls
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbclient (show other bugs)
Version: 3.0.9
Hardware: Other Linux
: P3 enhancement
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2006-04-24 03:30 UTC by Tobias Burnus
Modified: 2006-04-24 03:30 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Burnus 2006-04-24 03:30:26 UTC
This is with SUSE's samba-3.0.21c-9.

Currently, smbclient offers the option
   ls [pattern]
I would like to see the option to support
   ls [options] [--] [pattern]
with options to sort the output as the normal "ls" does in the shell.

If one copies those options, one has:
-r   reverse order while sorting
-S   sort by file size
-t   sort by modification time [The one I really miss!]
-X   sort alphabetically by extension