Re: How to get list of output of find command of Linux

new topic     » goto parent     » topic index » view thread      » older message » newer message
  • try walkdir; this is recursive
include std/filesys.e  
 
walk_dir(sequence path_name, object your_function, 
integer scan_subdirs = types :FALSE, 
object dir_source = types :NO_ROUTINE_ID) 
  • try writing to a file

system( find --help > foo.txt ) 
 
--> load "foo.txt" 
--> parse and use the output 

_tom

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu