Page 1 of 1

Work with ONLY files from specified subfolders

PostPosted: Sun Oct 07, 2018 10:07 pm
by Stooovie
Hi!

I can't get this to work properly. What I need, is to append date to files from ONLY specific subfolders. I have a strict folder structure for my video work.

PROJECTS //monitor this folder
----PROJECT A
----------STUFF //do not touch anything in this subfolder
----------OUTPUTS
----------------outputA.mp4 //append date to this

----PROJECT B
----------STUFF //do not touch anything in this subfolder
----------MORE STUFF //do not touch anything in this subfolder
----------OUTPUTS
----------------outputsA.mp4 //append date to this
----------------outputB.mov //append date to this
----------------outputC.m4v //append date to this

Basically, I want to monitor folder PROJECTS, which has various subfolders (different projects), and I want to append date to files in subfolder OUTPUTS in each of the project folders.

I had something working that took ALL the video files in my projects and renamed those, resulting in me needing to restore the PROJECTS folder from backup :)

THE PROBLEM: I'm unable to specify only "OUTPUTS" subfolders. Please help.

Re: Work with ONLY files from specified subfolders

PostPosted: Mon Oct 08, 2018 11:21 am
by Mr_Noodle
Several ways to do this. If it happens to be files at a certain subfolder level, you can try adding a condition to only match files at that level. Otherwise, you can use a nested condition like:
Code: Select all
    If (all) are met
        If (all) are met for (the enclosing folder)
            Name is OUTPUTS

I suggest having a set of test files to try this out on before letting it loose on your real ones.