Log in

View Full Version : Shell command needed


CelticTiger
2006-04-25, 12:39 AM
Can someone please save me hours of searching and tell me the shell command to create/write to a list listing all files in a directory recursively? It would be much appreciated :) Thanks

cd34
2006-04-25, 12:40 AM
find . -type f -print > file.txt

CelticTiger
2006-04-25, 12:45 AM
Damn that was a fast freaking reply....1 minute (not even). Thanks a bunch cd34 - you rock :)

Useless
2006-04-25, 12:51 AM
CT, why do I feel nervous whenever you start playing with shell commands?
|couch|

CelticTiger
2006-04-25, 12:55 AM
You have every right to be nervous :D A little knowledge is dangerous!