Copy a File into Multiple Subfolders

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

Moderator: Mr_Noodle

Copy a File into Multiple Subfolders Wed Jun 26, 2013 1:57 am • by miketheteacher
When a subfolder reaches a certain size (say 10 files in a subfolder) I would like to copy a file into that folder.

So, when subfolder A has 10 files inside, I would like to copy a file "10.gif" into it.
If subfolder A grows to 25 files, I would like to copy a new file "25.gif" into it.

Is this possible?
miketheteacher
 
Posts: 8
Joined: Wed Jun 26, 2013 1:53 am

Re: Copy a File into Multiple Subfolders Wed Jun 26, 2013 2:45 pm • by Mr_Noodle
I think so. Try using the Sub-file/folder count for that.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Thanks for the reply.

Sub file/folder count is working perfectly for this purpose, providing notifications when a folder reaches the appropriate size.

My question, rather, is how to copy an unrelated file into each of those folders when they reach that size.

As of now I have to do this manually.

Thanks, in advance.
miketheteacher
 
Posts: 8
Joined: Wed Jun 26, 2013 1:53 am

Re: Copy a File into Multiple Subfolders Thu Jun 27, 2013 12:48 pm • by Mr_Noodle
Ah, I see. For that you'll probably have to do some sort of script since there's no action for that.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Great, thanks. I appreciate your time.

Time to find someone to write me that script :D
miketheteacher
 
Posts: 8
Joined: Wed Jun 26, 2013 1:53 am


Return to Support