Page 1 of 1

Copy Folder based on contents

PostPosted: Thu Feb 18, 2016 5:14 am
by elgallo
Downloads folder is watched
rule subfolder - Kind is folder , run rules on contents


now here's the issue, when it matches type Music, I want the folder that contains the music copied to another location.

Downloads
Artist 1972 Album
song 1.mp3
song 2.mp3
etc...


Singles 1984
song 1.m4a
song 1 (alt).m4a


currently when I have music matched it will only copy the music files into a folder where I have

track 1.mp3
track 1.m4a
track-1.mp3
track01.mp3
track 2.mp3
track-2.mp3

etc. any suggestions would be greatly appreciated.

Re: Copy Folder based on contents

PostPosted: Thu Feb 18, 2016 12:05 pm
by Mr_Noodle
You don't want to use "Run rules on folder contents" here. Instead, you want something like:
Code: Select all
    If (all) are met
        If (all) are met for (any/all sub-files)
            Kind is Music


To get the nested condition, hold down option while clicking the + button to create a new condition. Set the target to any or all sub-files (you need to determine what makes sense). Any conditions under it will then apply to items under that folder, with the rule as a whole operating on the folder itself.