Author |
Message |
anmac1789
Joined: 17 Sep 2018 Posts: 49
|
Posted: Tue Sep 08, 2020 4:11 am Post subject: copy subfolder within a parent directory |
|
|
How do I copy a subfolder within a folder ? is it even possible with some external commands? for example, I want to copy the DCIM folder in C:\DCIM to C:\LAPTOP. How do I do that ? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8769
|
|
Back to top |
|
|
anmac1789
Joined: 17 Sep 2018 Posts: 49
|
Posted: Tue Sep 08, 2020 6:08 am Post subject: |
|
|
Actually, when i select "include subfolders" box, I get an error message that the subfolder DCIM is a subfolder within C:\LAPTOP. So what can I do in this case? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8769
|
Posted: Wed Sep 09, 2020 12:44 am Post subject: |
|
|
What sources / targets are you using? |
|
Back to top |
|
|
anmac1789
Joined: 17 Sep 2018 Posts: 49
|
Posted: Wed Sep 09, 2020 2:39 am Post subject: |
|
|
I'm using:
source: C:\
target: C:\LAPTOP |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8769
|
Posted: Wed Sep 09, 2020 11:34 pm Post subject: |
|
|
Hi, that would not work if subfolders are included, as it would copy c: with subfolders into c:\laptop\ but c:\laptop is a subfolder of c:\ already. |
|
Back to top |
|
|
anmac1789
Joined: 17 Sep 2018 Posts: 49
|
Posted: Thu Sep 10, 2020 12:06 am Post subject: |
|
|
so what is the workaround ? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8769
|
Posted: Thu Sep 10, 2020 12:38 am Post subject: |
|
|
Do you want to copy the C:\ drive somewhere? |
|
Back to top |
|
|
anmac1789
Joined: 17 Sep 2018 Posts: 49
|
Posted: Thu Sep 10, 2020 2:10 am Post subject: |
|
|
No i was just wondering if there is a special script or method I can use to copt the parent directory also |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8769
|
Posted: Thu Sep 10, 2020 11:53 pm Post subject: |
|
|
You could copy c:\ to a different drive like x:\c-drive\
or
C:\DCIM to C:\LAPTOP\DCIM\
Usually, you pre-create the empty source/target folders or use the option to 'create root source/target folders if they do not exist' _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
anmac1789
Joined: 17 Sep 2018 Posts: 49
|
Posted: Mon Sep 21, 2020 3:16 am Post subject: |
|
|
yes but can this retain the original date and time of the parent folder? |
|
Back to top |
|
|
|