[rt-users] Looking up queues by name in cli: How to handle spaces in names?
falcone at bestpractical.com
Thu Oct 13 11:20:00 EDT 2011
On Wed, Oct 12, 2011 at 08:37:30PM +0200, tobiasbp wrote:
> I'm running RT 3.8.8 on Debian.
> Using the cli I need to get information on queues. I can look up
> queues with no spaces in their name, but I can't figure out to handle
> queues with spaces in their names.
> Looking up the queue "queue_name" works:
> rt show -t queue some_queue
> I can't figure out how to look up the queue "queue name".
> I have tried the below without success:
> rt show -t queue some\ queue
> rt show -t queue 'some queue'
> rt show -t queue some%20queue
> I get the error:
> rt: show: Unrecognised argument 'queue name'.
> rt: show: No objects specified.
> rt: For help, run 'rt help show'.
> rt: For help, run 'rt help queue'.
That sounds like a bug. Would you file something in the bugtracker?
The only workaround I can see without code changes is using the
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 195 bytes
Desc: not available
More information about the rt-users