Select Files From a Text List on MacOS

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Select Files From a Text List on MacOS Fri May 01, 2020 4:10 pm • by Paul1762
I am trying to find a way to get a list of files that I have in a Text Document process within Hazel.

I have a list of damage files (4989), which have been listed in a Text List (see below) and want to be able to move this into a folder away from my Main Photo Folder. is there a way Hazel could read through this list, pick each file and move it to a Folder?

The files appear to be unsupported or damaged. (4909)
/Volumes/STOCK/RAW/01042017_14437946.raf
/Volumes/STOCK/RAW/01042017_16147947.raf
/Volumes/STOCK/RAW/03042015_18172475.cr2
/Volumes/STOCK/RAW/03042017_10338094.raf
/Volumes/STOCK/RAW/03042017_14128095.raf
/Volumes/STOCK/RAW/04032017_17327662.raf
/Volumes/STOCK/RAW/04062013_20294315.dng
/Volumes/STOCK/RAW/04062013_20294316.dng
/Volumes/STOCK/RAW/04062013_20294317.dng
/Volumes/STOCK/RAW/04062013_20294318.dng
/Volumes/STOCK/RAW/04062013_20294319.dng
/Volumes/STOCK/RAW/04062013_20294320.dng
/Volumes/STOCK/RAW/04062013_20304321.dng
/Volumes/STOCK/RAW/04062013_20304322.dng
/Volumes/STOCK/RAW/04062013_20484323.dng
/Volumes/STOCK/RAW/04062013_20484324.dng
/Volumes/STOCK/RAW/04062013_20484325.dng

Paul
Paul1762
 
Posts: 49
Joined: Sat Nov 08, 2014 5:32 pm

Re: Select Files From a Text List on MacOS Mon May 04, 2020 10:14 am • by Mr_Noodle
You'd need to write a shellscript or AppleScript to handle this.

You might be able to do something tricky if the document containing the document list is in the same folder as the files to be moved. It would involve use of nested conditions.
Mr_Noodle
Site Admin
 
Posts: 11870
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support