Hi,
I want to modify Apple's Folder Actions script that prompts the user when a new file is put into a folder to also copy that file to another folder or create/update an alias to it. My folder structure is:
Main Folder
Latest Reports
Stock 1
Stock 2
Stock 3
.
.
.
When a new report comes out, I download it into the appropriate folder for that stock. Reports come out quarterly (technically, every 13 weeks). The filename format is 'TICKER, YEAR-MO', for example, 'TSLA, 2020-08'. I'd like a copy (or an alias to) that latest report put into the 'Latest Reports' folder. I'm happy with a duplicate of the report going into the 'Latest Reports' folder but an alias would be even better.
The Folder Action could use the ticker symbol alone for the name of the file in the 'Latest Reports' folder or it could use the filename with the date included. In the former case, the new alias would overwrite the old one, which would be fine with me. In the later case, the Folder Action would need to delete the now-outdated alias.
I want to modify Apple's Folder Actions script that prompts the user when a new file is put into a folder to also copy that file to another folder or create/update an alias to it. My folder structure is:
Main Folder
Latest Reports
Stock 1
Stock 2
Stock 3
.
.
.
When a new report comes out, I download it into the appropriate folder for that stock. Reports come out quarterly (technically, every 13 weeks). The filename format is 'TICKER, YEAR-MO', for example, 'TSLA, 2020-08'. I'd like a copy (or an alias to) that latest report put into the 'Latest Reports' folder. I'm happy with a duplicate of the report going into the 'Latest Reports' folder but an alias would be even better.
The Folder Action could use the ticker symbol alone for the name of the file in the 'Latest Reports' folder or it could use the filename with the date included. In the former case, the new alias would overwrite the old one, which would be fine with me. In the later case, the Folder Action would need to delete the now-outdated alias.