store all files as array

/ Published in: Bash
Save to your folder(s)

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

Copy this code and paste it in your HTML
  1. files_in_dir=(*)

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.