Morning. Am trying to run egrep using a file for multiple search string input - the folder I'm searching is a Windows share I've mounted and can browse fine.
I'm (trying to) redirect the output from egrep to a file but am not having so much luck although it is being displayed on the console.....
For example:
The search returns the following type of thing:Code:egrep -f ~/strings.txt -r /media/windows-share/ >> ~/log.txt
I am seeing the log.txt file get created but never have the file names in which the search terms are found appended to it...can anyone help?Code:/media/windows-share/subfolder/subsubfoler/file.doc: No such file or directory


LinkBack URL
About LinkBacks
Reply With Quote

abit.care@HEXUS
