Recursive Grep
Tagged with: folder, grep, recursive, search, text
Tuesday, December 18th, 2007 11:35 PM
Recursively check a folder to find the given text using grep
grep -R "text" *
Recursively check a folder to find the given text using grep
grep -R "text" *
Recursively list all files in the current folder and all the sub folders
ls -R
ls -R1
Save the list of all files in a folder in windows - recursively.
dir /s /b>FileList.txt
[tags]command, dir, directory, folder, windows, list, ls ,recursive[/tags]
Save the list of all files in a folder - recursively.
find .|sed 's/\.\///;'
Another option is
ls -R -1
Kind of like the DOS command ‘dir /s‘
[tags]dir,ls,command,linux,folder,list,recursive,directory[/tags]