Bug 3715 - smbclient: Allow sorting option for ls
smbclient: Allow sorting option for ls
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: smbclient
3.0.9
Other Linux
: P3 enhancement
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-24 03:30 UTC by Tobias Burnus
Modified: 2006-04-24 03:30 UTC (History)
0 users

See Also:


Attachments

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