backupto 2 files
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
backupto 2 files
i have 2 files....555.txt & 666.txt; i want backupto 2 files stored in C: in D:
this script work fine:
backupto "D:\", "C:\555.txt", 2
but copy only one file....
with backupto "D:\", "C:\*.txt", 2 don't copy nothing!!
with backupto "D:\", "C:\*.*", 2 don't copy nothing!!
where is my error???
this script work fine:
backupto "D:\", "C:\555.txt", 2
but copy only one file....
with backupto "D:\", "C:\*.txt", 2 don't copy nothing!!
with backupto "D:\", "C:\*.*", 2 don't copy nothing!!
where is my error???
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: backupto 2 files
....or backupto all files in folder....
-
zer0
- Posts: 2676
- Joined: 19 Jan 2009 20:11
Re: backupto 2 files
Dude, please chill out and stop creating new threads and double-posting, ok?
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
-
highend
- Posts: 14940
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: backupto 2 files
You didn't read the helpfile...
In the case of copyto and moveto, the source(s) may contain wildcards, for example:
copyto "D:\Backup\XY files\<date yyyy-mm-dd>", "<xydata>\*.ini|<xydata>\*.dat"
Copies all *.ini and *dat file from the XYplorer data path to D:\Backup\XY files\2008-04-22\ (if that's the date today).
Note that backupto, however, does not support wildcards!
One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: backupto 2 files
@ zer0
ok sorry! but no one gives me an answer!!!
@ highend
no! no! no!
please read my reply here
http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=6876
ok sorry! but no one gives me an answer!!!
@ highend
no! no! no!
please read my reply here
http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=6876
-
highend
- Posts: 14940
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: backupto 2 files
Yes, yes, yes *sigh*
so
won't copy anything BECAUSE BACKUPTO DOES NOT SUPPORT WILDCARDS.
Code: Select all
Note that backupto, however, does not support wildcards!Code: Select all
backupto "D:\", "C:\*.txt", 2One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: backupto 2 files
sooorrryyy!!
i dont understand....but wildcards is not this?? |
"<xydata>\*.ini|<xydata>\*.dat"
for including 2 different file ext???
Edit: Sorry, I was wrong. wildcards is *
ok!
i dont understand....but wildcards is not this?? |
"<xydata>\*.ini|<xydata>\*.dat"
for including 2 different file ext???
Edit: Sorry, I was wrong. wildcards is *
ok!
Last edited by swan_x on 13 Aug 2011 12:35, edited 1 time in total.
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: backupto 2 files
ok! if you have understood, You can not post the correct script????
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: backupto 2 files
if i write
copyto "D:\", "C:\*.txt", 2
i have one copy C: folder in D: but in folder C: is empty!
copyto "D:\", "C:\*.txt", 2
i have one copy C: folder in D: but in folder C: is empty!
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: backupto 2 files
is incredible!
so many people here but no one answers to get a simple thing, copy 2 file with same ext from from one folder to another!
so many people here but no one answers to get a simple thing, copy 2 file with same ext from from one folder to another!
-
highend
- Posts: 14940
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: backupto 2 files
Because it's so simple that you can do it yourself. Everything that's needed is in the helpfile!
and later on, what can be used for multiple files?
So what's so hard that you can't fill in a few parameters that are all explained there?
Code: Select all
backupto location, [source], [on_collision], [preserve_dates], [create_log], [pop_stats], [skip_junctions], [verify], [show_progress]
Code: Select all
You can also use multiple sources by using pipe ( | ) as separator, for example:
backupto "D:\Backup\XY folders\<date yyyy-mm-dd>", "<xydata>\Scripts|<xydata>\FindTemplates"
Code: Select all
backupto "D:\", "C:\555.txt|C:\666.txt", 2;One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: backupto 2 files
oh great friend!!!
your answer is very welcome!!
I read the guide several times but I did not understand this!!
thank you very much!!
your answer is very welcome!!
I read the guide several times but I did not understand this!!
thank you very much!!
XYplorer Beta Club