kcrawford / dockutil

command line tool for managing dock items
http://patternbuffer.wordpress.com
Apache License 2.0
1.36k stars 131 forks source link

Improve handling of URLs #64

Closed execriez closed 7 years ago

execriez commented 7 years ago
  1. Currently, the --find and --list options ignore URLs

For example,
If you add a fileserver URL to the dock like this:

dockutil --add "smb://myserver/Data/Shared" --label "I Drive"

...then do a list:

dockutil --list

...the entry doesn't list.

The --find option also ignores such entries.

  1. Specifying a path as a URL

Currently, if you specify a file or directory path as a URL like this:

dockutil --add "file://mydrive/Data/Shared"

...it is confused with a fileserver URL and is displayed as a globe in the dock.

The proposed changes address both issues.

kcrawford commented 7 years ago

Thanks for the fixes.