cyverse / gocommands

iRODS Command-line Tools written in Go
Other
29 stars 18 forks source link

ls command: add sort options #26

Closed stsnel closed 6 months ago

stsnel commented 6 months ago

This adds options for sorting data objects, replicas and collections in the ls command output

Data objects and replicas can be sorted by name, extension, modification time and size. In case of data objects, the modification time is defined as the modification time of the replica that has been modified last.

Collections can only be sorted by name or modification time.

iychoi commented 6 months ago

Thanks for the PR. I'll review it soon!

iychoi commented 6 months ago

Merged!

stsnel commented 6 months ago

Thank you!