I’m having trouble getting a list of files into an array. arr=( * ) works when i’m in the directory in question, but arr=( path-to-dir/* ) dosen’t
arr=( * )
arr=( path-to-dir/* )