Author Topic: Searching compressed files in Workspace  (Read 331 times)

Dennis

  • Senior Community Member
  • Posts: 3989
  • Hero Points: 519
Searching compressed files in Workspace
« on: August 27, 2024, 02:23:51 PM »
I have a workspace that consists of many compressed log files (wildcard = *.log.gz)

When I search within the workspace, matches within the compressed files are excluded.
Code: [Select]
   
_mffind2("Behavior",'I',"<Workspace>",'*','',"4160",'0','0','0','');

When I do a generalized directory search, it works properly (provided I make the wildcards slightly more general)
Code: [Select]
_mffind2("Behavior",'I',"+t /home/uname/RUN-708/",'*log*','',"4160",'0','0','0','');

When searching the workspace, it does indicate that all the files are searched, but it must be neglecting to actually search the compressed files.
Code: [Select]
Total found: 10277     Matching files: 5     Total files searched: 1788    time: 1.00s

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6934
  • Hero Points: 531
Re: Searching compressed files in Workspace
« Reply #1 on: August 27, 2024, 08:14:31 PM »
At the moment, _mffind2 is similar to the multi-find dialog which only supports searching within compressed files (MFFIND_LOOKINZIPFILES) when the "Look in subfolders" option is given and a directory is specified. Not only are special file specifications not supported (i.e <Workspace>) but also MFFIND_LOOKINZIPFILES is not supported for a non recursive single directory search.