topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday September 25, 2021, 12:39 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: copy two files from one folder to many folders  (Read 310 times)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,699
    • View Profile
    • Donate to Member
copy two files from one folder to many folders
« on: September 23, 2021, 02:55 PM »
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 ?

Best Regards
 :-* :P

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,699
    • View Profile
    • Donate to Member
Re: copy two files from one folder to many folders
« Reply #1 on: September 23, 2021, 02:59 PM »
Additionally I need to copy those two files only if the COMPO folder is not empty...
 :huh:

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 315
  • Call me Vic!
    • View Profile
    • PublicDomainWeekly.com
    • Read more about this member.
    • Donate to Member
Re: copy two files from one folder to many folders
« Reply #2 on: September 23, 2021, 03:30 PM »
An utility to do this or similar tasks ?

You can try MultiCopy v0.1.0

https://github.com/p...blicdomain/multicopy

https://github.com/p.../releases/tag/v0.1.0

If you need something else added (i.e. another feature), I'm in to assist :Thmbsup:

Cheers!
✔️ New releases: PublicDomainWeekly.com

🎁 One-time support: Paypal @ www.paypal.com/paypalme/victorvls

❤️ Steady support: Patreon @ www.patreon.com/publicdomain

Thanks & keep on rocking!
Email/Paypal: publicdomainvicgmail.com

Coding: torrenttools-trackers v0.1.0
--Victor

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,699
    • View Profile
    • Donate to Member
Re: copy two files from one folder to many folders
« Reply #3 on: September 23, 2021, 04:07 PM »
It too simple. I can't create rules.
So I will need to point to several hundred folder where I want the original files to be copies

That is I can't proposed a tree like this :

Y:\folder1\folder2\<any subfolder>\compo\ where the original files must be copied if that folder is not an empty folder.
 :-* :P

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,699
    • View Profile
    • Donate to Member
Re: copy two files from one folder to many folders
« Reply #4 on: September 23, 2021, 04:15 PM »
I think I need a RegEx utility or something.
My eternal problem
 ;D


Note : perhaps a bat file with some wild options *.*
 :-\
« Last Edit: September 23, 2021, 04:27 PM by Contro »

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,699
    • View Profile
    • Donate to Member
Re: copy two files from one folder to many folders
« Reply #5 on: September 23, 2021, 04:29 PM »
An ahk utility ?

 :tellme: :tellme: :tellme:

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 315
  • Call me Vic!
    • View Profile
    • PublicDomainWeekly.com
    • Read more about this member.
    • Donate to Member
Re: copy two files from one folder to many folders
« Reply #6 on: September 23, 2021, 06:09 PM »
If you need something else added (i.e. another feature), I'm in to assist

Okie, I'm creating a custom release (based on hard-coded "compo" path) right now, with condition on empty dir.

An ahk utility ?

A regular .exe program...
✔️ New releases: PublicDomainWeekly.com

🎁 One-time support: Paypal @ www.paypal.com/paypalme/victorvls

❤️ Steady support: Patreon @ www.patreon.com/publicdomain

Thanks & keep on rocking!
Email/Paypal: publicdomainvicgmail.com

Coding: torrenttools-trackers v0.1.0
--Victor
« Last Edit: September 24, 2021, 08:17 AM by publicdomain »

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,699
    • View Profile
    • Donate to Member
Re: copy two files from one folder to many folders
« Reply #7 on: September 24, 2021, 05:11 PM »
I can wait
 :-* :P