Moderator: Mr_Noodle
if
Name matches […]_by_[Username]-[123].jpg
do
Sort into subfolder with pattern [Username]
dekaritae wrote:I'd like to use Hazel to sort various files from members of DeviantART into subfolders based on their username. Files from DA are saved with the name format "Title_by_Username-######.jpg", the hashes being an alphanumeric string. How would you suggest I script this in Hazel?
if
Name matches […]_by_[Username]-[12ab]
do
Sort into subfolder with pattern [Username]
if
Name matches […]_by_[Username]-[12ab]
do
Sort into subfolder with pattern [Username]
If (any) are met
Name matches <blah blah>(• your custom attribute)<blah blah>
Comments match <blah blah>(• your custom attribute)<blah blah>