Find files by name

PHOTO EMBED

Sun Mar 28 2021 11:12:11 GMT+0000 (Coordinated Universal Time)

Saved by @FlorianC #bash

#!/bin/bash

>oldFiles.txt
files=$(grep " jane " ../data/list.txt | cut -d ' ' -f 3)
for file in $files; do
        if [ -e $HOME$file ]; then
        echo $HOME$file >> oldFiles.txt;
        fi
done
content_copyCOPY