Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WinSCP: Text search on remote files

I use WinSCP to get access on the remote files of our project. How can I search for some text/words in all remote files/directories using WinSCP?

like image 695
Max_Salah Avatar asked Jan 15 '13 08:01

Max_Salah


1 Answers

WinSCP does not support text searching in its primary GUI.


But there's a built-in extension to Search recursively for text in remote directory.

This is a universal solution that works with SFTP, even if the server does not allow shell access, or even for FTP or WebDAV sessions.

enter image description here


Alternatively, you may be able to make use of WinSCP console window (Commands > Open Terminal) to launch the search from the command-line.

grep -r "text_to_search_for" *

This of course requires a shell access to the server.

like image 96
Martin Prikryl Avatar answered Sep 22 '22 11:09

Martin Prikryl