5

I've inherited a huge joomla website (hundreds of nested folders and thousands of files.) I need to be able to find a specific piece of code, but have no idea which file it's in. Is there a GUI FTP client that has an integrated grep-type function?

Tom Brossman
  • 13,297
EmmyS
  • 17,031

4 Answers4

13
  • You can use nautilus to connect to the server.
  • Goto Places → Connect to server → ftp
    alt text
  • After connecting to it,you can see it in your nautilus.
  • You can search it like any other filesystem you can access. alt text
Marco Ceppi
  • 48,827
karthick87
  • 84,513
3

you can mount the ftp resource as a local

curlftpfs [user@]host:[dir] mountpoint [options]

and search with your favorite tools

jet
  • 7,452
0

Like karthick87 wrote, I generally use Nautilus to mount all my network shares. I have the nautilus-open-terminal package installed, which allows me to right click the window and open a terminal. To search for text, I just open a local terminal from Nautilus and run

grep -r '#include <example.h>' *
-1

Any way of full-text search via pure FTP would involve first downloading applicable files as whole, then browsing through them. So be simple: create local mirror of FTP and search through it. All tools described before do the same, but implicitly.