mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-24 11:13:18 +00:00
16 lines
236 B
JavaScript
16 lines
236 B
JavaScript
|
var findit = require('findit');
|
||
|
|
||
|
var files = findit.findSync(process.argv[2]||'./');
|
||
|
|
||
|
var count = files.length;
|
||
|
|
||
|
console.log(files);
|
||
|
|
||
|
files = files.join("\n");
|
||
|
|
||
|
process.stdout.write(files+"\n");
|
||
|
|
||
|
console.log('found '+count+' files');
|
||
|
|
||
|
|