Page 1 of 1

manipulating search results

Posted: 12 Feb 2006, 05:20
by Klaus
Good morning folks,

Does anybody know how to get the results of a find into a text file? Just the way you would do with

Dir x.y /s > results.txt

And a second question: Is it possible to put the search results of different subdirectories into one pane. Norton commander had the 'virtual directory'

Thanks
Klaus

Re: manipulating search results

Posted: 12 Feb 2006, 19:18
by Jan Rysavy
Klaus wrote:Good morning folks,
Does anybody know how to get the results of a find into a text file? Just the way you would do with
We have this problem on our to-do list. The Make File List plugin will solve it.
Klaus wrote:And a second question: Is it possible to put the search results of different subdirectories into one pane. Norton commander had the 'virtual directory'
Klaus, why do you need to feed found files and directories to the panel?

Re: manipulating search results

Posted: 13 Feb 2006, 10:28
by KNUT
Klaus wrote:And a second question: Is it possible to put the search results of different subdirectories into one pane. Norton commander had the 'virtual directory'
IMHO the Seach window is enough.
It would be great to have the "Make file list" command in the search window...

Posted: 13 Feb 2006, 14:47
by JohnFredC
Is it possible to put the search results of different subdirectories into one pane. Norton commander had the 'virtual directory'
This is a request for file "collector" functionality in Salamander, an incredibly useful tool. The collector (or "virtual panel" or "virtual folder") serves to collect references to files from anywhere in the system into one place in the interface.

One way I use it (in a competitor's file manager) is to backup projects whose files are scattered in different folders on different drives. I create a virtual folder, populate it with (references to) files from many different folders. Then I can archive the group very easily.

It is important to be able to save the list of files present in the virtual folder or collector so that it can be re-used. I depend on the file manager to inform me (through a color indicator) when references to files in the virtual folder list cannot be resolved to actual files.

We'll see this great approach to file management in Windows itself when MS finally releases Vista/WinFS.

Posted: 13 Feb 2006, 19:30
by Klaus
Hello Jan,

I think JohnFredC has explained for what it can be useful. Creating a logical, virtual directory. E.g. you might think of a set of files being spread all over several hard disks in several directories. In this virtual directory all searches would be only on this set and not over several hard disks.

Regards

Posted: 13 Feb 2006, 21:08
by grymmjack
This would be very useful IMO. Add one to desiree of this request :)

Re: manipulating search results

Posted: 20 Jul 2010, 18:30
by Klaus
Hello folks,

it is a long time that some users and I asked for this file "collector" functionality in Salamander, an incredibly useful tool. The collector (or "virtual panel" or "virtual folder") serves to collect references to files from anywhere in the system into one place in the interface.
My question is now, if this request is already dead or still alive. Perhaps it is only placed in the wrong section. If so, to which section do I have to put it into?

Thanks
Klaus

Re: manipulating search results

Posted: 21 Jul 2010, 01:22
by Kanopus
I had a similar requirement several years ago and I used hardlinks to collect references for files from different directories into one directory. This can be done using the fsutil tool on WinXP or mklink on Vista / Win 7. Should be easy to add an item for that in the AS user menu. The disadvantage is that it is not possible to create a hardlink to a file or directory on another drive, but I didn't have that need. And it's only possible on NTFS drives.

Regarding the file list issue: you can put a batch in the SendTo folder (filename List.bat, for example) like this:

@echo off
set local
set LIST=c:\tools\list.txt
if exist %LIST% del %LIST%
:loop
if "%1"=="" goto :eof
echo %1 >> %LIST%
shift
goto loop


Then you can select the files you want in the Find Files result list and send them to the batch using the context menu "Send To" / List.bat.

BTW, if you still have the need, you should post it in the Feature Requests.

Re: manipulating search results

Posted: 21 Jul 2010, 01:52
by therube