Post by poshook » Mon Dec 20, 2010 11:52 pm

Is there such application (for mac) which is able to perform searching not only files inside folders but code/text inside files/folders?

I would prefer this searching engine when I edit some files in opencart code

https://www.youtube.com/@Then_


Active Member

Posts

Joined
Sun Jun 27, 2010 3:19 am

User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by poshook » Tue Dec 21, 2010 5:47 am

thnx jay but this simple search of individual files is included in all file managers. I am looking for something able to search in whole folder with many subfolders and files

https://www.youtube.com/@Then_


Active Member

Posts

Joined
Sun Jun 27, 2010 3:19 am

Post by Qphoria » Tue Dec 21, 2010 6:01 am

grepWin is the best I've seen for windows.. maybe there is a mac alternative of that

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Xsecrets » Tue Dec 21, 2010 6:12 am

poshook wrote:thnx jay but this simple search of individual files is included in all file managers. I am looking for something able to search in whole folder with many subfolders and files
grep is much more powerful than simply searching in one file, however it's a local command. You could only use it on a remote server if you have ssh access, but just so you know you can do something like grep -rl "sometext" * and it will search all files in the current folder and all subfolders and spit out a list of files containing that text. or grep -irl "sometext" * for same thing with case insensitive search. you can also use regex in the search string. grep is an amazingly powerful search tool if you learn it.

I am not aware of any ftp program that allows this type of searching on remote files.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by poshook » Tue Dec 21, 2010 6:22 am

thnx guys

https://www.youtube.com/@Then_


Active Member

Posts

Joined
Sun Jun 27, 2010 3:19 am

Post by JAY6390 » Tue Dec 21, 2010 6:24 am

To be fair it would be impossibly slow to use it via FTP, since an FTP program is local, so it would have to manually download a file, search, then move onto the next one, recursing through all of the folders and subfolders. The grep link I gave did actually show what Xsecrets means (third example down). I use regexbuddy's built in grep, and it's great on windows for local folders. You're not going to be able to do this remotely unless like X has said you have SSH access to the server

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by SapporoGuy » Tue Dec 21, 2010 12:02 pm

what's the purpose?

If doing code work, I usually use BBEdit.
Which I do know searches fast, like almost as fast as the finder and pulls up the files by lines and such.
However, I have never tried the FTP function in it.

930sc ... because it is fun!


User avatar
Active Member

Posts

Joined
Mon Nov 01, 2010 7:29 pm

Post by JAY6390 » Tue Dec 21, 2010 7:17 pm

Can't say I've used BBEdit, so not entirely sure if it can do the same, but grep also has the ability to use regular expressions to search for patterns inside files

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 2 guests