dropbox / dbxcli

A command line client for Dropbox built using the Go SDK
Other
1.06k stars 99 forks source link

Make `ls` list files in multiple columns #17

Closed waits closed 8 years ago

waits commented 8 years ago

It would be nice if the ls command listed files in columns so more can fit on a screen. Most/all unix-based ls commands do this, for example:

$ ls /etc/alphabet
alpha  charlie  echo     golf   india
bravo  delta    foxtrot  hotel  juliett

$ ls /srv/random-rails-app
app  config     db       Gemfile.lock  log     Rakefile  tmp
bin  config.ru  Gemfile  lib           public  test      vendor

Whereas this tool's output is:

$ dbxcli ls /some-folder
alpha
bravo
charlie
delta
...

The output of the --long option would of course remain unchanged.

grantseltzer commented 8 years ago

https://github.com/dropbox/dbxcli/pull/27

waits commented 8 years ago

Thanks @GrantSeltzer!