copy two files from one folder to many folders with rules

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
AutoPepe
Posts: 70
Joined: 08 May 2016, 15:34

copy two files from one folder to many folders with rules

Post by AutoPepe » 28 Sep 2021, 04:20

I have a tree
Y:\folder1\folder2\exp<year>\compo\file1.doc
Y:\folder1\folder2\exp<year>\compo\file2.doc

I need to copy two files from folder
Y:\folder1\folder2\564.21\compo\file1.doc
Y:\folder1\folder2\564.21\compo\file2.doc

to many folders under the same tree
Y:\folder1\folder2\exp<year>

An utility to do this or similar tasks ?. I need create rules or filters. By example : copy if the folder is not empty or contain or its size....

Best Regards

User avatar
mikeyww
Posts: 26856
Joined: 09 Sep 2014, 18:38

Re: copy two files from one folder to many folders with rules

Post by mikeyww » 28 Sep 2021, 05:18

You can Loop, Files through the list. If you need subdirectories, you could use a recursive approach.

Folder sizeFileGetSizeFileCopy

AutoPepe
Posts: 70
Joined: 08 May 2016, 15:34

Re: copy two files from one folder to many folders with rules

Post by AutoPepe » 28 Sep 2021, 10:45

mikeyww wrote:
28 Sep 2021, 05:18
You can Loop, Files through the list. If you need subdirectories, you could use a recursive approach.

Folder sizeFileGetSizeFileCopy
Do you know a finish script I can use for this purpose ?

Best Regards

Post Reply

Return to “Ask for Help (v1)”