Delete SOURCE after profile execution

For technical support visit http://support.2brightsparks.com/
Post Reply
cmcruz007
Enthusiastic
Enthusiastic
Posts: 16
Joined: Fri Jun 11, 2010 8:18 am

Delete SOURCE after profile execution

Post by cmcruz007 » Thu Jun 13, 2019 9:11 am

Hy everyone.

One question:

I have a profile that it copies a source X from a destination Y. It is posible to delete all folders and files in SOURCE when the execution is correct??

Now, I have it configured with a bat file that executes a command "del", but I'd like to do it with Synbackpro.

Example
NET USE O: \\source
del /F/S/Q O:\*.*
net use O: /delete /Y

Thanks!

Swapna
2BrightSparks Staff
2BrightSparks Staff
Posts: 821
Joined: Mon Apr 13, 2015 6:22 am

Re: Delete SOURCE after profile execution

Post by Swapna » Thu Jun 13, 2019 11:38 am

Hi,

You can configure SyncBackPro profile to move files to destination i.e. to copy file to destination and delete them from source after the copy is success. Please read this forum post for additional details:
https://www.2brightsparks.com/bb/viewtopic.php?t=12188

Thank you

cmcruz007
Enthusiastic
Enthusiastic
Posts: 16
Joined: Fri Jun 11, 2010 8:18 am

Re: Delete SOURCE after profile execution

Post by cmcruz007 » Thu Jun 13, 2019 2:36 pm

The second link is broken, but,

If the files exist in source and destination, Synbackpro doesn't move the files.
I use Synbackpro to move files, but I need to delete the ENTIRE source when the copy is correct.
Now I can only do it with a bat file. I see an option to delete the source BEFORE passing the data, which doesn't make much sense.

Thanks

Post Reply