Re: [Tracker] Migrating tracker-utils/ into one 'tracker' command



On 06/10/14 20:14, Tshepang Lekhonkhobe wrote:
This is all too excellent!

Is there also "tracker search" and "tracker stats"?

Now tracker-stats is part of tracker-status:

  $ tracker status
  $ tracker status --stat [-a] [[expression1]...]
  $ tracker status --collect-debug-info

Running on its own gives:

  $ tracker status
  Currently indexed: 1023 files, 121 folders
  Remaining space on database partition: 134.2 GB (58.37%)
  All data miners are idle, indexing complete

The tracker-search command is integrated too of course:

  $ tracker search [options...] [[expression1] ...]

Same for tracker-tag:

  $ tracker tag FILE1 [FILE2 ...] [-l <limit>] [-o <offset>] [-r]
  $ tracker tag -t [[TAG1] [TAG2] ...] [-s] [-r]
  $ tracker tag -a <TAG> [-e <description>]
  $ tracker tag -d <TAG>

And for tracker-info:

  $ tracker info [options...] <file1> [[file2] ...]

All commands show their options (same as -h) when run with no args (except a few, like "tracker daemon" and "tracker status"). This is better than before where we would spit some warning out about missing args and people had to use the --help command manually anyway after that.

Also, after all this, I suppose there would only be 2 other
executables... tracker-preferences and tracker-needle?

Yes, and they're optionally built.

--
Regards,
Martyn

Founder & Director @ Lanedo GmbH.
http://www.linkedin.com/in/martynrussell


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]