-1

how i can write bash file to Find files (number and name of files are variable) inside the folder and save the file names in variables ?

Mohammad AL-Rawabdeh
  • 1,612
  • 12
  • 33
  • 54

1 Answers1

0

Put them in an array.

files=(*)
Ignacio Vazquez-Abrams
  • 45,939
  • 6
  • 79
  • 84