WinSCP: Text search on remote files

被刻印的时光 ゝ 提交于 2021-02-06 12:42:28

问题


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?


回答1:


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.


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.



来源:https://stackoverflow.com/questions/14333590/winscp-text-search-on-remote-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!