Posted By

jlmarks on 03/29/14


Tagged

Shell array ls


Versions (?)

store all files as array


 / Published in: Bash
 

This snippet stores all files in the current directory to an array.

  1. files_in_dir=(*)

Report this snippet  

You need to login to post a comment.