Work with ONLY files from specified subfolders

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Work with ONLY files from specified subfolders 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.
Stooovie
 
Posts: 4
Joined: Sat Mar 09, 2013 12:41 pm

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.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support