writing bash
Backlinks
bash
#!/bin/bash cd ~/Dropbox/Notes/RoamNotes array=() filtered_array=() mapfile -d $'\0' array < <(find . -print0 ) for (( i=0; i<${#array[@]}; i+=1 )); do filtered_array+=$(stat "${array[$i]}") done echo ${array[2]} echo ${filtered_array[2]}