ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Find And Run Robot

Quickly go to any directory

<< < (2/2)

howardb:
I think it would be a gain, if FARR could, in general, pipe the output of other programs into its number list or menu - also if it could pipe the contents of a file into its list. I don't think FARR can improve on the batch file I list within this thread, for wcd. But you ask:

> wcd has a commandline tool that lets you specify a substring on the commandline and > > > outputs a simple list of matching directories? Or does it add extra info to the output that > > needs to be cleaned up.

Read about wcd at:  http://www.xs4all.nl/~waterlan/. It is a windows program, that runs in a cmd box. It works almost exactly like FARR, only for all directories in all partitions. You enter some characters of a directory, with or without wildcards. wcd then presents a list of possible matching directories in one of three formats: a numbered list, an list numbered with letters of  the alphabet, a directory tree that you can navigate. You you hit a key, for instance, the letter c - and your favorite file manager comes up in the corresponding directory to `c'. This gives you up to 26 choices with one keystroke of a letter. The menu screen can be piped to the standard out, for inclusion in FARR. The menus need to be (easily) cleaned of their own indexes of numbers or letters, by a program like sed or grep. Then Farr could list the first 0 choices. However, wcd creates a plain ascii file that lists all directories. That file could be directly searched by any grep utility or FARR itself to produce a list of directories that match some string - which then get listed in FARR's lower list screen.

the TinyEV plugin won't help, because it requires the  everything program to be constantly running in the background. And the Everything program does not have an easy way of listing only matching directories.

Hope I was clear, if verbose!

baiyq:
I using everything for file search and totalcommander for content search . I thinking   FARR and/or  implement content search also , but havn't find the method to done it until now. 

ewemoa:
You enter some characters of a directory, with or without wildcards. wcd then presents a list of possible matching directories in one of three formats: a numbered list, an list numbered with letters of  the alphabet, a directory tree that you can navigate.
-howardb (October 27, 2009, 09:50 PM)
--- End quote ---
It looks like the -od command line option gives back output which would almost work for FARR's #filecontents.

So as to:

So am i understanding correctly that wcd has a commandline tool that lets you specify a substring on the commandline and outputs a simple list of matching directories? Or does it add extra info to the output that needs to be cleaned up.
-mouser
--- End quote ---
The most obvious thing that might require some massaging is that the output uses slashes instead of backslashes for the path separators.

My browsing of the man page didn't turn up anything useful in this regard.

May be someone else knows better :)

Navigation

[0] Message Index

[*] Previous page

Go to full version