Sync folders questions
Sync folders questions
1. Can the sync folders feature be setup to sync/backup(mirror source to target) multiples source and target folders in different locations simultaneously in one run/execution of scripted a user button, and without the need for the dual pane?
2. Would it be possible to exclude certain files from sources and targets when syncing.
Right now I currently use a different program but I'd be more than happy to ditch that if I could achieve this within XY.
2. Would it be possible to exclude certain files from sources and targets when syncing.
Right now I currently use a different program but I'd be more than happy to ditch that if I could achieve this within XY.
Re: Sync folders questions
Yes, lookup
sync scripting cmd in the help file, where it is documented how.Re: Sync folders questions
Okay, I got the single source and target working in a script on the user button but what is the separator to include another source and target in the same script. I tried (|) but get an overflow message and tried a few other ways too but error messages.
This works
sync "C:\My Documents", "D:\My Documents", 5:="c"; //show config
Now how to add another source (C:\My Music) to target (D:\My Music) to the above in the same script.
This works
sync "C:\My Documents", "D:\My Documents", 5:="c"; //show config
Now how to add another source (C:\My Music) to target (D:\My Music) to the above in the same script.
Re: Sync folders questions
You just use multiple sync cmds, on different lines or same line separated by ; (sans // cmts) eg
Code: Select all
sync "C:\My Documents", "D:\My Documents", 5:="c";
sync "C:\My Music", "D:\My Music", 5:="c";Re: Sync folders questions
When I do this the button then gives me the two backup options to select but I want them both run with one button click?
Re: Sync folders questions
Oh wait, Its working. Just had to ensure it was not on a separate line
Re: Sync folders questions
The example you copied from the help used the "c" flag, which is requesting the config dialog to show, so remove that flag if that isn't what you want to happen for each line.
Re: Sync folders questions
Yes, this works and dialogue box is gone now. This is a valuable option to have right within XY and the getting basics was actually pretty easy.
I'm hoping to achieve something similar to what my current software is doing but need to get my head wrapped around that help menu first and experiment with my limited knowledge on this.
Basically four profiles - Annually, Quarterly, Bi-Weekly and Real Time upon file change detection or optionally executed automatically on a schedule or on exit/startup.
Once again, thanks for the assistance on this.
I'm hoping to achieve something similar to what my current software is doing but need to get my head wrapped around that help menu first and experiment with my limited knowledge on this.
Basically four profiles - Annually, Quarterly, Bi-Weekly and Real Time upon file change detection or optionally executed automatically on a schedule or on exit/startup.
Once again, thanks for the assistance on this.
Re: Sync folders questions
Is it normal for XY to be unusable while a sync is taking place?
Re: Sync folders questions
That window is the active one, so yes
Normally this shouldn't pose any real problems, only the first sync can take a lot of time, subsequent ones should be way faster...
Normally this shouldn't pose any real problems, only the first sync can take a lot of time, subsequent ones should be way faster...
One of my scripts helped you out? Please donate via Paypal
Re: Sync folders questions
Unfortunately time remaining of almost 5 hours to complete is not gonna work for me and had to hit cancel.
I'm still able to work with files in XY, even open documents, with ViceVersa running in the background and even with full backups.
I do like some of XY's options too but for now I will just use to it compliment my current backup/sync software until I become more familiar with it.
I'm still able to work with files in XY, even open documents, with ViceVersa running in the background and even with full backups.
I do like some of XY's options too but for now I will just use to it compliment my current backup/sync software until I become more familiar with it.
Re: Sync folders questions
Open a fresh instance, execute your sync commands there, work with the main instance?
One of my scripts helped you out? Please donate via Paypal
Re: Sync folders questions
Possibility, but will try another time. Time constraints at the moment and had to default to what is working for me right now.
Thanks for getting back.
Thanks for getting back.
Last edited by Schuller on 22 Jan 2024 03:39, edited 1 time in total.
Re: Sync folders questions
If you aren't up to scripting it to run in the BG yourself, you can just launch
File | Open Throw Away Clone
and run it from there, where your existing button will be available.
File | Open Throw Away Clone
and run it from there, where your existing button will be available.
XYplorer Beta Club