Page 1 of 1

Move a file out of a folder and rename it to the name of the

PostPosted: Wed Nov 03, 2021 1:06 pm
by dhcrees
I’ve been using Hazel for years and pretty much it’s been able to handle anything I’ve thrown at it, but I can’t figure this problem out.

I need to import a load of pictures into a new personnel system. Each image is stored in a separate folder (only one image per folder), named with an Employee Id (which are all unique), so:

100001
----> Image.jpg
100002
----->Image.jpg
Ect….

In order to import the images into the new system I need to have them all in a sperate folder, which I can do easily, but during the copy I need to rename the image with the name of the original folder it came from, and end up with:

Import-Folder:
----->100001.jpg
----->100002.jpg
Ect.

Can this be done ??

Re: Move a file out of a folder and rename it to the name of

PostPosted: Wed Nov 03, 2021 1:58 pm
by dhcrees
Managed to figure it out by using the "source folder" in the rename action