LINUXLSD1: Stata module to create a dataset of file records from the output of a Linux ls -d1 command
Roger Newson
Statistical Software Components from Boston College Department of Economics
Abstract:
linuxlsd1 inputs a file list specification recognised by Linux, Unix or Mac OS X, and generates in the memory a new Stata dataset, with 1 observation per file in the list, and data on information about the file, including the file name and possibly other file-specific information. This new Stata dataset can then be used for mass-processing of the specified files. llinuxlsd1 inputs a file list specification recognised by Linux or Mac OS X, and generates a local macro containing a list, with 1 list item per file in the list, containing information about the file, including the file name and possibly other items. linuxlsd1 and llinuxlsd1 work by using the Linux ls command, with the options -d1 to specify that directories in the file list will be listed as files (and not expanded), and that the output will contain 1 line per file. They are designed to work only under a Linux, Unix or Mac OS X operating environment.
Language: Stata
Requires: Stata version 10
Keywords: file management; data management (search for similar items in EconPapers)
Date: 2016-04-04
Note: This module should be installed from within Stata by typing "ssc install linuxlsd1". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/l/linuxlsd1.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/l/linuxlsd1.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/l/llinuxlsd1.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/l/llinuxlsd1.sthlp help file (text/plain)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s458166
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().