公卫百科 >> filelist >> 历史版本
编辑时间历史版本内容长度图片数目录数修改原因
04-28 17:02 最新历史版本 1224 0 0 新增内容
  返回词条

filelist

filelist -- Recursively search directories for files 递归搜索目录文件


filelist searches dirpath for files that match search_pattern and continues searching recursively in all its subdirectories. If

directory(dirpath) is omitted, the search starts from the current directory (see pwd and cd).


By default, filelist will pick up all files, including system files that are usually hidden. To target a specific type of file using a

pattern in the file name, use the pattern(search_pattern) option. The search_pattern string must conform to the rules of the 

strmatch() function. For example, with pattern("*.csv"), filelist will return only file names that end with ".csv".

安装:ssc install filelist
作者:Robert Picard
邮箱:picard@netbox.com


标签