TritonDataCenter / node-manta

Node.js SDK for Manta
75 stars 54 forks source link

mfind hangs when piped into head #360

Closed jimrybarski closed 5 years ago

jimrybarski commented 6 years ago

I can run the command below where I just want to save 100 filenames to my local computer:

~~/stor/stats_data | head -n 100 > test-inputs.txt

However, this will hang indefinitely. Curiously, the file test-inputs.txt does get written and it contains 100 entries.

mfind --version
5.2.1
davepacheco commented 6 years ago

I think there must be a typo in your example. Was it:

mfind ~~/stor/stats_data | head -n 100 > test-inputs.txt